摘要: 任务1 源代码task1.c 点击查看代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) 阅读全文
posted @ 2026-11-14 17:21 小瀑 阅读(16) 评论(0) 推荐(0)
摘要: 任务一 源代码task1.c 点击查看代码 #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-29 00:02 小瀑 阅读(8) 评论(0) 推荐(0)
摘要: task1.1 #include <stdio.h>int main(){printf(" o o \n"); printf("<H> <H>\n");printf("I I I I\n"); return 0; } task1.2 #include <stdio.h>int main(){prin 阅读全文
posted @ 2026-10-16 23:17 小瀑 阅读(10) 评论(1) 推荐(0)