摘要: 任务一 (1)源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1() { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 printf("size 阅读全文
posted @ 2026-05-03 16:04 Ichika0217 阅读(8) 评论(0) 推荐(0)
摘要: 任务一 (1)源代码 1 #include <stdio.h> 2 3 char score_to_grade(int score); 4 5 int main() { 6 int score; 7 char grade; 8 9 while(scanf("%d", &score) != EOF) 阅读全文
posted @ 2026-04-16 23:02 Ichika0217 阅读(14) 评论(0) 推荐(0)
摘要: 实验结论 任务1 (1)源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 int main() { 6 int number; 7 int i; 8 srand(time(0)); 9 阅读全文
posted @ 2026-04-02 20:31 Ichika0217 阅读(8) 评论(0) 推荐(0)
摘要: 任务1 1.源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 int main() 4 { 5 printf(" O\n"); 6 printf("<H>\n"); 7 printf("I I\n"); 8 system("pause"); 9 ret 阅读全文
posted @ 2026-03-18 11:48 Ichika0217 阅读(11) 评论(0) 推荐(0)