为何我的switchi语句 为何输入后100显示d 很伤
int main(void)
{
int score;
score/=10;
printf("请输入你的成绩");
scanf("%d",&score);
switch(score){
case 10:
case 9:
printf("A\n");
break;
case 8:
printf("B\n");
break;
case 7:
case 6:
printf("C\n");
break;
default:
printf("D\n");
break;
}
return 0;
}