'commit'
This commit is contained in:
14
TangDou/XiTi/1217.cpp
Normal file
14
TangDou/XiTi/1217.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user