摘要: 实验4: 源码: #include<stdio.h> #include<stdlib.h> #define N 3 #define M 100 void write(); int fun1(); int fun2(); int main(){ write(); printf("data4.txt统计 阅读全文
posted @ 2024-12-29 23:28 liuseki 阅读(14) 评论(0) 推荐(0)
摘要: 实验4: 源码: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 10 4 5 typedef struct{ 6 char isbn[20]; 7 char name[80]; 8 char author[80]; 9 double sal 阅读全文
posted @ 2024-12-22 00:41 liuseki 阅读(11) 评论(0) 推荐(0)
摘要: 实验1 源码1: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 5 4 5 void input(int x[],int n); 6 void output(int x[],int n); 7 void find_min_max(int x 阅读全文
posted @ 2024-12-10 18:01 liuseki 阅读(20) 评论(0) 推荐(0)
摘要: 实验1: 源码: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 void test1(){ 6 int x[N]={1,9,8,4}; 7 int i; 8 printf("sizeof(x)=%d\n" 阅读全文
posted @ 2024-11-09 16:19 liuseki 阅读(26) 评论(0) 推荐(0)
摘要: 实验1: 1 #include<stdio.h> 2 #include<stdlib.h> 3 char score_to_grade(int score); 4 int main(){ 5 int score; 6 char grade; 7 while(scanf("%d",&score)!=E 阅读全文
posted @ 2024-10-28 13:00 liuseki 阅读(28) 评论(0) 推荐(0)
摘要: 实验1代码: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 397 7 #define N2 476 8 #define N3 21 9 10 int main() 1 阅读全文
posted @ 2024-10-12 21:54 liuseki 阅读(18) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/liuseki 阅读全文
posted @ 2024-10-08 17:34 liuseki 阅读(20) 评论(0) 推荐(0)
摘要: 实验1: 源代码1: #include<stdio.h> #include<stdlib.h> int main() { printf(" O\v"); printf("<H>\v"); printf("I I\v"); printf(" O\v"); printf("<H>\v"); printf 阅读全文
posted @ 2024-09-27 14:09 liuseki 阅读(60) 评论(0) 推荐(0)