返回列表 發帖
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
    mm:
    int r=0 ,a=0,b=0,c=0,d=0;
    system("cls");  
         
    cout<<"<<ㄏㄏ賽馬場>>"<<endl;
    cout<<"歡迎很閒人來尬賽喔"<<endl;
    cout<<"============================================================================終點"<<endl;
    cout<<"㊣"<<endl;
    cout<<"↗"<<endl;               
    cout<<"◇"<<endl;   
    cout<<"≒"<<endl;
      system("pause");
     system("cls");
   
        
    while(a!=75 && b!=75 && c!=75 && d!=75)
    {                           
    r=rand()%4;
     
     
    if(r==0)
    a++;
    cout<<"尬賽中"<<endl;
    cout<<"============================================================================終點"<<endl;
    for(int i=1; i<=a; i++)
    cout<<" ";
    cout<<"㊣"<<endl;   
    system("cls");                                    
    }                                                        
     goto mm;
    system("pause");
    return 0;                                            
}

TOP

返回列表