- #include<iostream>
- using namespace std;
- int main()
- {
- int score;
- cout<<"請輸入你的成績:";
- cin>>score;
- cout<<"你的成績是"<<score<<"分"<<endl;
- if(score=100)
- {
- cout<<"挖!滿分!"<<endl;
- }else if(score>=60 && score<100)
- {
- cout<<"恭喜你及格了!"<<endl;
- }else if(score>0 && score<60)
- {
- cout<<"請認真,不然就挨棍子!"<<endl;
- }else if(score==0)
- {
- cout<<"鴨蛋!打你喔!"<<endl;
- }else if(score>100)
- {
- cout<<"唬我啊!等著被轟吧!"<<endl;
- }else if(score>1000)
- {
- cout<<"我要用RPK-74步槍轟了你"<<endl;
- }
- system("pause");
- return 0;
- }
複製代碼  |