用switch的:
#include
int main()
{ float score;
char grade;
printf("please input a score:");
scanf("%f",&score);
while (score>100||score100||c=90&&c=80&&c=70&&c=60&&c=0&&c
用switch的:
#include
int main()
{ float score;
char grade;
printf("please input a score:");
scanf("%f",&score);
while (score>100||score100||c=90&&c=80&&c=70&&c=60&&c=0&&c