Run ID:126488
提交时间:2025-07-19 16:09:18
#include<bits/stdc++.h> using namespace std;//命名空间 分号是英文分号 int main() { int x; cin >> x; if (x >= 90) { cout << "A"; } else { //x<90 if (x >= 80) { cout << "B"; } else { //x<80 if (x >= 70) { cout << "C"; } else { //x<70 if (x >= 60) { cout << "D"; } else { //x<60 cout << "E"; } } } } return 0; }