#include<stdio.h>
#include<stdlib.h>
int main()
{
float grades;
scanf("%f",&grades);
switch ((int)grades / 10);
{
case 10:
case 9:
printf("A\n");
case 8:
printf("B\n");
case 7:
printf("C\n");
default:
printf("D\n");
}
system("pause");
return 0;
}
JustWannaHugU
blank3514467
相关分类