10 2024 档案

摘要:task1: 1 #include<stdio.h> 2 3 char score_to_grade(int score); 4 5 int main() { 6 int score; 7 char grade; 8 9 while (scanf_s("%d",&score) != EOF) { 1 阅读全文
posted @ 2024-10-28 07:41 sunishope 阅读(42) 评论(0) 推荐(0)
摘要:task1: 问题1 随机数求余后结果为1,生成0397到0476中的随机数 问题2 随机数求余后结果为0,生成0001到0021中的随机数 问题3 随机生成5个不同的学号 task2: 实验3: task4: 1 #include <stdio.h> 2 int main() 3 { 4 doub 阅读全文
posted @ 2024-10-13 12:25 sunishope 阅读(18) 评论(0) 推荐(0)