/*KiKi想知道他的考試分數是否經過,請幫他判斷。從鍵盤任意輸入一個整數表示的分數,編程判斷該分數是否在及格範圍內,若是及格,即:分數大於等於60分,是輸出「Pass」,不然,輸出「Fail」。
https://www.nowcoder.com/prac...
BC43
*/ios
using namespace std;編程
int main()
{spa
int n; while (cin>>n) { if (n >= 60) cout << "Pass" << endl; else cout << "Fail" << endl; }
}code