返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.    for(int i=5; i>=1; i--)
  7.    {
  8.            cout<<i<<"!"<<endl;
  9.            _sleep(1000);
  10.            system("cls");
  11.    }
  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

返回列表