10 2025 档案

摘要:实验任务一: 问题一:score to grade 的功能是将分数转化为1-10的数,并输出每个数对应的A-E的等级 问题二:改写后的问题1:A-E为字符型应该用单引号括起来,问题2: A-D语句后应该加上break语句,使代码找到运行结果后就跳出switch语句,若没有break语句则还会向下继续 阅读全文
posted @ 2025-10-26 11:56 陆绎 阅读(15) 评论(1) 推荐(0)
摘要:1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main(){ 10 int cnt; 11 int random_ 阅读全文
posted @ 2025-10-14 11:43 陆绎 阅读(15) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2025-10-06 17:39 陆绎 阅读(12) 评论(1) 推荐(0)