- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- int speed=50;
- re:
- for(int i=0; i<=13; i++)
- {
- if(i=1)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=2)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=3)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=4)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=5)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=6)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=7)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=8)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=9)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=10)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=11)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=12)
- cout<<" □□□□□□□□□□"<<endl;
- if(i=13)
- cout<<" □□□□□□□□□□"<<endl;
- _sleep(speed);
- system("cls");
- }
- system("pause");
- return 0;
- }
複製代碼 |