返回列表 發帖
  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.     cout<<endl;
  17.    
  18.     system("pause");
  19.     return 0;
  20. }
複製代碼

TOP

返回列表