Run ID:3131

提交时间:2020-12-02 20:53:50

#include <iostream> using namespace std; int main(){ int score; cin >> score; if (score >= 90) cout << "A" << endl; else if (score >= 80 and score <= 89) cout << "B" << endl; else if (score >= 70 and score <= 79) cout << "C" << endl; else if (score >= 60 and score <= 69) cout << "D" << endl; else cout << "E" << endl; return 0; }