摘要: 实验三 任务1 源代码 点击查看代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d" , &score) != EOF) { 阅读全文
posted @ 2026-11-18 17:31 罗程 阅读(13) 评论(1) 推荐(0)
摘要: 任务1 源代码 点击查看代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 100 #define CNT 5 int main() { int number; int i; srand(time(0)); // 阅读全文
posted @ 2026-10-31 12:47 罗程 阅读(18) 评论(0) 推荐(0)
摘要: 任务一1.1 源代码 点击查看代码 #include <stdio.h> int main() { printf(" O O\n"); printf("<H><H>\n"); printf("I II I\n"); return 0; } 运行截图 任务一1.2 源代码 点击查看代码 #includ 阅读全文
posted @ 2026-10-19 19:47 罗程 阅读(11) 评论(1) 推荐(0)