- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- char answer;
- cout<<"<Smosh's stupid question>"<<endl;
- cout<<"2個半小時是幾分鐘:(a)120分(b)60分(c)55分(d)59分"<< endl;
- cout<<"Please answer:"<<endl;
- cin>>answer;
- switch(answer)
- {
- case 'a':
- case 'A':
- cout<<"wrong answer!"<<endl;
- break;
- case 'b':
- case 'B'
- cout<<"Bingo!"<<endl;
- break;
- case 'c':
- case 'C':
- cout<<"wrong answer!"<<endl;
- break;
- case 'd':
- case 'D' :
- cout<<"wrong answer!"<<endl;
- break;
- default:
- cout<<"you really are a dickhole!"<<endl;
-
- }
- system("pause");
- return 0;
-
-
-
- }
複製代碼 |