摘要: ## 实验任务4 ### 实验代码 ``` #include #include #define N 100 typedef struct { char num[10]; int s1, s2; double sum; char level[10]; } STU; int fun(STU a[], i 阅读全文
posted @ 2023-05-31 19:28 寒沐 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); void p 阅读全文
posted @ 2023-04-05 18:50 寒沐 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0)) 阅读全文
posted @ 2023-03-22 23:37 寒沐 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 任务1 1.1 #include <stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0 阅读全文
posted @ 2023-03-08 20:44 寒沐 阅读(15) 评论(0) 推荐(0) 编辑