摘要: 实验任务1 task1.c源代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { gr 阅读全文
posted @ 2025-10-26 16:03 lidayu12 阅读(10) 评论(1) 推荐(0)
摘要: 实验任务1 task1.c源代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_majo 阅读全文
posted @ 2025-10-16 19:56 lidayu12 阅读(8) 评论(1) 推荐(0)
摘要: 实验任务1 task1_1.c 源代码 #include<stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I\n" 阅读全文
posted @ 2025-09-28 18:27 lidayu12 阅读(16) 评论(1) 推荐(0)