摘要: 任务四 1.源代码及运行截图 1 #include <stdio.h> 2 #define N 10 3 #include<stdlib.h> 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char aut 阅读全文
posted @ 2026-06-10 14:54 Ichika0217 阅读(6) 评论(0) 推荐(0)
摘要: 任务一 task1-1 1.源代码和运行截图 1 void input(int x[], int n); 2 void output(int x[], int n); 3 void find_min_max(int x[], int n, int *pmin, int *pmax); 4 5 int 阅读全文
posted @ 2026-05-31 15:05 Ichika0217 阅读(8) 评论(0) 推荐(0)
摘要: 任务一 (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 阅读(11) 评论(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 阅读(15) 评论(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 阅读(10) 评论(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 阅读(13) 评论(0) 推荐(0)