作业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;
}
轉載于:https://www.cnblogs.com/chaoyue0806/p/3378447.html
總結
- 上一篇: 练习1
- 下一篇: [JDK]找不到或无法加载主类 java