摘要: 任务1 源代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = sco 阅读全文
posted @ 2026-11-16 18:27 firefly520 阅读(11) 评论(0) 推荐(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-28 16:19 firefly520 阅读(11) 评论(0) 推荐(0)
摘要: 任务1 源代码task1.c //打印一个字符小人 #include<stdio.h> int main() { printf(" 0 \n"); printf("<H>\n"); printf("I I\n"); return 0; } 运行测试截图 +源代码task1_1.c //打印一个字符小 阅读全文
posted @ 2026-10-17 09:40 firefly520 阅读(11) 评论(0) 推荐(0)