返回列表 發帖
  1. #include <iostream>

  2. using namespace std;

  3. int main()
  4. {
  5.     int score;
  6.     cout<<"請輸入你的分數:";
  7.     cin>>score;
  8.     if(score>=60)
  9.     {
  10.     cout<<"恭喜你!及格了!";
  11.     }
  12.     else
  13.     {
  14.     cout<<"哎呀!不及格!請再努力";
  15.     }     
  16.    system("pause");

  17.    return 0;

  18. }
複製代碼

TOP

返回列表