返回列表 發帖
#include<iostream>
#include<cstdlib>
using namespace std;
int main()  //int ---> integer 整數
{
    int score;
    cout<<"報上你的成績:";
    cin>>score;  
    if(score>=60)
    {
         cout<<"恭喜你!及格了!"<<endl;
    }else
    {
         cout<<" 不及格~斬!"<<endl;
    }
    system("pause");
    return 0;
}

TOP

返回列表