- #include<iostream>
- #include<cstdlib>
- #include<ctime>
- using namespace std;
- int main()
- {
- int a=50;
- re:
- system("cls");
- cout<<"□□□□□□□□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"■□□□□□□□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"■■□□□□□□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"■■■□□□□□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□■■■□□□□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□■■■□□□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□■■■□□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□□■■■□□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□□□■■■□□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□□□□■■■□"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□□□□□■■■"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□□□□□□■■"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□□□□□□□■"<<endl;
- _sleep(a);
- system("cls");
- cout<<"□□□□□□□□□□"<<endl;
- _sleep(a);
- system("cls");
- goto re;
- system("pause");
- return 0;
- }
複製代碼 |