返回列表 發帖
回復 1# tonyh

#include<iostream>
using namespace std;
int main()
{  
    int score;  
    cout<<"請輸入你的分數";
    cin>>score;
    if(score==100)
    {
        cout<<"你好棒!可以...........了!";  
    }else if(score>=60&& score<=99)
    {
        cout<<"及格了!吃屎吧!";                              
    }else if(score>=1&& score<=59)
    {
        cout<<"不及格!回去.......吧!";
    }else if(score==0)
    {
        cout<<"太差了!考什麼鳥蛋分!回家...............吧";                                      
    }else   
    {
    cout<<"輸入錯誤!";
    }
    cout<<endl;                                                                                                                        
    system("pause");
    return 0;                  
}

TOP

返回列表