返回列表 發帖
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int n;
  4. int main()
  5. {
  6.     cin >> n;
  7.     if(n>=0 && n<=100)
  8.     {
  9.         cout << (n>60? n+10:n+5) << endl;
  10.     }
  11.     else
  12.         cout << "error\n";
  13.     return 0;
  14. }
複製代碼
Vincent

TOP

返回列表