返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<ctime>
  4. using namespace std;
  5. int main()
  6. {
  7.     int speed=50;
  8.     re:
  9.     for(int i=1; i<=13; i++)
  10.     {
  11.         if(i==1)
  12.             cout<<"■□□□□□□□□□"<<endl;
  13.         if(i==2)
  14.             cout<<"■■□□□□□□□□"<<endl;
  15.         if(i==3)
  16.             cout<<"■■■□□□□□□□"<<endl;
  17.         if(i==4)
  18.             cout<<"□■■■□□□□□□"<<endl;
  19.         if(i==5)
  20.             cout<<"□□■■■□□□□□"<<endl;
  21.         if(i==6)
  22.             cout<<"□□□■■■□□□□"<<endl;
  23.         if(i==7)
  24.             cout<<"□□□□■■■□□□"<<endl;
  25.         if(i==8)
  26.             cout<<"□□□□□■■■□□"<<endl;
  27.         if(i==9)
  28.             cout<<"□□□□□□■■■□"<<endl;
  29.         if(i==10)
  30.             cout<<"□□□□□□□■■■"<<endl;
  31.         if(i==11)
  32.             cout<<"□□□□□□□□■■"<<endl;
  33.         if(i==12)
  34.             cout<<"□□□□□□□□□■"<<endl;
  35.         _sleep(100);
  36.         system("cls");
  37.     }
  38.     goto re;
  39.     system("pause");
  40.     return 0;
  41. }
複製代碼

TOP

返回列表