返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<ctime>
  4. using namespace std;
  5. int main()
  6. {
  7.     for(int i=5; i>=1; i++)
  8.         {
  9.                 cout<<i<<"!"<<endl;
  10.                 _sleep(1000);
  11.         system("cls");
  12.         }
  13.         while(true)
  14.         {
  15.           cout<<"~~~ Happy New Year ~~~"<<endl;  
  16.       _sleep(1000);
  17.       system("cls");
  18.       cout<<"~~~ Happy New Year ~~~"<<endl;  
  19.       _sleep(1000);
  20.       system("cls");
  21.     }
  22.     system("pause");   
  23.     return 0;
  24. }
複製代碼

TOP

返回列表