- #include<cstdlib>
- #include<iostream>
- using namespace std;
- int main()
- {
- int ans;
- cout<<"槍枝問答"<<endl;
- cout<<"下列何者槍枝在APEX裡使用重型彈藥"<<endl;
- cout<<"1:R301 2:VK-47 Flatline 3:Kraber.50-cal Sniper 4:Mastiff"<<endl;
- cout<<"請作答:"<<endl;
- cin>>ans;
- switch(ans)
- {
- case 1:
- cout<<"我看你沒玩過最強衝鋒槍喔";
- break;
- case 2:
- cout<<"答對 這把是平行";
- break;
- case 3:
- cout<<"克萊博是狙ㄟ";
- break;
- case 4:
- cout<<"這把是獒犬散彈槍啦";
- break;
- default:
- cout<<"S U S";
- }
- cout<<endl;
- system("pause");
- return 0;
- }
複製代碼 |