摘要: 任务一 代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = scor 阅读全文
posted @ 2025-04-06 22:26 赵可妍 阅读(9) 评论(0) 推荐(0)
摘要: 任务1 代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 7 int main() { 8 int number; 9 int i; 10 11 srand(time(0)); / 阅读全文
posted @ 2025-03-19 21:27 赵可妍 阅读(7) 评论(0) 推荐(0)
摘要: 实验1 task1.c 代码: #include <stdio.h> #include <stdlib.h> int main() { printf(" O \n"); printf("<H>\n"); printf(" I \n"); printf(" O \n"); printf("<H>\n" 阅读全文
posted @ 2025-03-09 14:57 赵可妍 阅读(17) 评论(0) 推荐(0)