还是求错,真是醉了,照书上照葫芦画瓢,还1error
#include <stdio.h>int main()
{
char grade;
scanf("%c\n",&grade);
printf("Your score:");
switch(grade)
{
case'A':printf("85~100\n");break;
case'B':printf("70~84\n");break;
case'C':printf("60~69\n");break;
case'D':printf("<60\n");break;
default:printf("error!\n");
}
return 0;
}