#include <stdio.h>
void main()
{
int a;
printf("请输入成绩:");
scanf("%d",&a);
swith(a/10)
{
case 10:
case 9:printf("A");break;
case 8:printf("B");break;
case 7:printf("C");break;
case 6:printf("D");break;
default:printf("E");
}
}
if(i<100){ L=i/10; switch(L) { case 10: case 9:printf("A");break; case 8:printf("B");break; case 7:printf("C");break; case 6:printf("D");break; }
}else{ printf("error!")
}