- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- first:
- int option;
- cout<<"(1)動畫1 (2)動畫2 (3)動畫3"<<endl;
- cin>>option;
- if(option==1)
- goto re;
- if(option==2)
- goto allre;
- if(option==3)
- goto eachre;
- else
- {
- cout<<"這是三小?"<<endl;
- system("pause");
- system("cls");
- goto first;
- }
- re:
-
- system("cls");
-
- for(int i=1;i<=80;i++)
- {
- if(i>=1 and i<11)
- cout<<"▏.●.▏"<<endl;
- if(i>=11 and i<21)
- cout<<"▏▎●.●▎▏"<<endl;
- if(i>=21 and i<31)
- cout<<"▏▎▍.●.▍▎▏"<<endl;
- if(i>=31 and i<41)
- cout<<"▏▎▍▌.●. ▌▍▎▏"<<endl;
- if(i>=41 and i<51)
- cout<<"▏▎▍▌▋●.● ▋▌▍▎▏"<<endl;
- if(i>=51 and i<61)
- cout<<"▏▎▍▌▋▊.●.▊▋▌▍▎▏"<<endl;
- if(i>=61 and i<71)
- cout<<"▏▎▍▌▋▊▉ ●.● ▉▊▋▌▍▎▏"<<endl;
- if(i>=71 and i<81)
- cout<<"▏▎▍▌▋▊▉█.●. █▉▊▋▌▍▎▏"<<endl;
-
- system("cls");
- }
- goto re;
- allre:
- for(int i=1;i<=120;i++)
- {
- if(i>=1 and i<11)
- cout<<"◎●○◤◢◣◥"<<endl;
- if(i>=11 and i<21)
- cout<<"●○◎◢◣◥◤"<<endl;
- if(i>=21 and i<31)
- cout<<"○◎●◣◥◤◢"<<endl;
- if(i>=31 and i<41)
- cout<<"◎●○◥◤◢◣"<<endl;
- if(i>=41 and i<51)
- cout<<"●○◎◤◢◣◥"<<endl;
- if(i>=51 and i<61)
- cout<<"○◎●◢◣◥◤"<<endl;
- if(i>=61 and i<71)
- cout<<"◎●○◣◥◤◢"<<endl;
- if(i>=71 and i<81)
- cout<<"●○◎◥◤◢◣"<<endl;
- if(i>=81 and i<91)
- cout<<"○◎●◤◢◣◥"<<endl;
- if(i>=91 and i<101)
- cout<<"◎●○◢◣◥◤"<<endl;
- if(i>=101 and i<111)
- cout<<"●○◎◣◥◤◢"<<endl;
- if(i>=111 and i<121)
- cout<<"●◎○◥◤◢◣"<<endl;
- system("cls");
- }
- goto allre;
- eachre:
- for(int i=1;i<=40;i++)
- {
- if(i>=1 and i<11)
- cout<<"◇◆◇◤◢◣◥◤◢◣◥◇◆◇"<<endl;
- if(i>=11 and i<21)
- cout<<"◆◇◆◢◣◥◤◢◣◥◤◆◇◆"<<endl;
- if(i>=21 and i<31)
- cout<<"◇◆◇◣◥◤◢◣◥◤◢◇◆◇"<<endl;
- if(i>=31 and i<41)
- cout<<"◆◇◆◥◤◢◣◥◤◢◣◆◇◆"<<endl;
-
- system("cls");
- }
- goto eachre;
- system("pause");
- return 0;
- }
複製代碼 |