/* xuejineng2016@163.com 2020年5月6日 */ #include<stdio.h> int main(void) { int score; char grade; scanf("%d", &score); switch (score / 10) { case 10: case 9:grade = 'A'; break; case 8:grade = 'B'; break; case 7:grade = 'C'; break; case 6:grade = 'D'; break; default:grade = 'E';break; } printf("%c ", grade); return 0; }