摘要: 分数转成等级 switch #include<stdio.h> main() { int a; printf("请输入学生的分数(0-100):\n"); scanf("%d",&a); switch(a/10) { case 10: case 9:printf("A\n");break; case 阅读全文
posted @ 2021-10-31 22:01 张继炫 阅读(8) 评论(0) 推荐(0) 编辑