#include<iostream>
using namespace std;
int main()
{
int num;
cin >> num;
if(num >= 0 && num <= 100){
switch(num / 10){
case 10:
case 9:
cout << 'A';
break;
case 8:
cout << 'B';
break;
case 7:
cout << 'C';
break;
case 6:
cout << 'D';
break;
default:
cout << 'E';
break;
}
}
}
题目 1008: [编程入门]成绩评定——入门题
最新推荐文章于 2024-08-19 18:41:12 发布