文章
79
粉丝
221
获赞
46
访问
198.3k
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
switch (n / 10) {
case 10:
cout << "A" << endl;
break;
case 9:
cout << "A" << endl;
break;
case 8:
cout << "B" << endl;
break;
case 7:
cout << "C" << endl;
break;
case 6:
cout << "D" << endl;
break;
default:
cout << "E" << endl;
break;
}
return 0;
}
登录后发布评论
暂无评论,来抢沙发