摘要: 1.编写程序,使用switch-case语句将输入的分数转换为相应的等级。 #include<stdio.h> main(){ int mark; printf("请输入学生的分数(0——100):\n"); scanf("%d",&mark); switch(mark/10) { case 10: 阅读全文
posted @ 2021-10-26 11:22 浅殇之城 阅读(31) 评论(0) 推荐(0)