返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     int s;
  7.     cout<<"                   ********屌爆的白痴問答題********"<<endl;
  8.     cout<<"5+5+5+5=555加一撇使算式成立(不可以加在等號上)?(1)=上(2)5上(3)+上(4)555上"<<endl;
  9.     cout<<"請輸入答案:";
  10.     cin>>s;
  11.         if(s==1)
  12.         {
  13.             cout<<"都跟你講不可以加在等號上了你還猜!"<<endl;
  14.     }else if(s==2)
  15.     {
  16.             cout<<"請問這位頭很大的人要加在哪邊啊!"<<endl;
  17.     }else if(s==3)
  18.     {
  19.             cout<<"恭喜答對!把一撇加在+上,使+成為4!"<<endl;
  20.     }else if(s==4)
  21.         {
  22.                 cout<<"你屁啦!"<<endl;
  23.         }else
  24.     {
  25.             cout<<"輸入錯誤"<<endl;
  26.     }
  27.     system("pause");
  28.     return 0;
  29. }
複製代碼

TOP

返回列表