关于switch
#include<stdio.h>void main()
{
char c;
printf("please input char:\n");
scanf("%c",&c);
switch (c)
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");break;
}
帮帮忙,哪里出错了?