a is int type and should be preceded by float s;int a;
scanf("%f",&s);a=int s;//Make real number type
float a;?printf("Please enter the score:\n")
switch((int)(a/10.05))case?
nclude< stdio.h>int main()?char score;
printf("Please input your score(0~100):\n");scanf("%c",&score);
printf("Your grade:");switch(score)
case'9':printf("A\n");break;case'8':printf("B\ n");break;case'7':printf("C\n");break;case'6':printf("D\n");break;default:printf("E\n");< /p>