作业3.5
#include<stdio.h>
int main(void)
{
char ch;
printf("Enter the level(A B C D E):");
ch=getchar();
switch(ch){
case'A':printf("The level is 90~100\n");break;
case'B':printf("The level is 80~89\n");break;
case'C':printf("The level is 70~79\n");break;
case'D':printf("The level is 60~69\n");break;
case'E':printf("The level is 0~59\n");break;
}
return 0;
}