返回列表 發帖
本帖最後由 鄞美旭 於 2021-6-19 13:54 編輯
  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.         } while(true)
  13.         {
  14.                 cout<<"☆★☆Happy New Year☆★☆"<<endl;
  15.                 _sleep(1000);
  16.             system("cls");
  17.             cout<<"★☆★Happy New Year★☆★"<<endl;
  18.             _sleep(1000);
  19.             system("cls");
  20.     }
  21.    system("pause");
  22.    return 0;
  23. }
複製代碼

TOP

返回列表