谢谢各位大哥大姐,帮忙找下哪里错了?
#include<stdio.h>main()
{
float score;
int s,t;
scanf("%d",&score);
t=score*10;
s=t%100;
printf("your grade:");
switch(s)
{
case 10:
case 9:printf("A\n");break;
case 8:printf("B\n");break;
case 7:printf("C\n");break;
case 6:printf("D\n");break;
case 5:
case 4:
case 3:
case 2:
case 1:
case 0:printf("E\n");break;
default:printf("enter data error!\n");
}
return 0;
}