摘要: task1 源代码 点击查看代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { gr 阅读全文
posted @ 2026-11-13 15:16 潘紫宸 阅读(16) 评论(1) 推荐(0)
摘要: 任务一 源代码 点击查看代码 #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-28 19:51 潘紫宸 阅读(10) 评论(0) 推荐(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"); ret 阅读全文
posted @ 2026-10-16 13:13 潘紫宸 阅读(13) 评论(1) 推荐(0)