- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- int option;
- cout<<"阿蒙其D能兒的問題"<<endl;
- cout<<"蛇有幾隻腳 1.0-------- 2.1-------- 3.4--------4.不知道 :"<<endl;
- cin>>option;
-
-
- switch(option){
-
- case 1:
- cout<<"聰明欸"<<endl;
- break;
-
- case 2:
- cout<<"D能"<<endl;
- break;
-
- case 3:
- cout<<"D能"<<endl;
- break;
- case 4:
- cout<<"DD能兒"<<endl;
- break;
- default:
- cout<<"公蝦餃"<<endl;
- }
-
- system("pause");
- return 0;
- }
複製代碼 |