#include<stdio.h>
main()
{
int score=87;
score/=10;
switch
case 10:
case 9:printf("等级A");break;
case 8:printf("等级B");break;
case 7:
case 6:printf("等级C");break;
default : printf("等级D");break;
}
...错了,是switch(score)