摘要: 1.分数转成等级 switch #include<stdio.h> main() { int mark; printf("请输入学生的分数(0-100):\n"); scanf("%d",&mark); switch(mark/10) { case 10: case 9:printf("A\n"); 阅读全文
posted @ 2021-10-28 23:23 赤红7 阅读(31) 评论(0) 推荐(0)