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