摘要: include <stdio.h> include <string.h> define N 2 typedef struct student { int id; char name[20]; char subject[20]; double perf; double mid; double fina 阅读全文
posted @ 2024-12-16 09:31 安逸的氛围 阅读(2) 评论(0) 推荐(0) 编辑
摘要: include<stdio.h> define N 5 void input(int x[],int n); void output(int x[],int n); void find_min_max(int x[],int n,int *pmin,int *pmax); int main(){ i 阅读全文
posted @ 2024-12-02 09:14 安逸的氛围 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 实验任务1: include<stdio.h> define N 4 define M 2 void test1(){ int x[N]={1, 9, 8, 4}; int i; printf("sizeof(x)=%d\n",sizeof(x)); for(i=0;i<N;++i) printf( 阅读全文
posted @ 2024-11-10 11:09 安逸的氛围 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 实验任务1: include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score_to_grad 阅读全文
posted @ 2024-10-29 14:43 安逸的氛围 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 实验任务1 include <stdio.h> include <stdlib.h> include <time.h> define N 5 define N1 397 define N2 476 define N3 21 int main() { int cnt; int random_major 阅读全文
posted @ 2024-10-15 16:04 安逸的氛围 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 实验任务1 include<stdio.h> int main() { printf(" O O\n"); printf(" \n"); printf("I I I I\n"); return 0; } include<stdio.h> int main() { printf(" O\n"); pr 阅读全文
posted @ 2024-09-25 17:00 安逸的氛围 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/aydfw 阅读全文
posted @ 2024-09-25 16:40 安逸的氛围 阅读(4) 评论(0) 推荐(0) 编辑