返回列表 發帖
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main() {
  5. int score;
  6. cout<<"請輸入成績:";
  7. cin>>score ;
  8. if(score>=60)
  9. {cout<<"恭喜及格"<<endl;}
  10. else
  11. {cout<<"不及格,請再加油";}
  12. system("pause");
  13. return 0;
  14. }
複製代碼

TOP

返回列表