You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
335 B
15 lines
335 B
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int score;
|
|
cin >> score;
|
|
|
|
if (score >= 90) cout << "A" << endl;
|
|
else if (score < 90 && score >= 70) cout << "B" << endl;
|
|
else if (score >= 60 && score < 70) cout << "C" << endl;
|
|
else if (score < 60) cout << "D" << endl;
|
|
return 0;
|
|
}
|