10 2025 档案

摘要:内容1 #include<stdio.h> char score_to_grade(int score); int main(){ int score; char grade; while(scanf("%d",&score)!=EOF){ grade = score_to_grade(score) 阅读全文
posted @ 2025-10-30 19:29 luhan777 阅读(4) 评论(1) 推荐(0)
摘要:内容1: 问题1:rand无法每次运行都生成一个随机数 问题2:随取抽取一位学生的学号 内容2: 问题1:去掉后,下次运行出错,没有令total_price=0 问题2:继续执行continue后面的循环语句 内容3: #include <stdio.h> int main() { char col 阅读全文
posted @ 2025-10-19 13:55 luhan777 阅读(9) 评论(1) 推荐(0)