摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
实验任务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( 阅读全文
摘要:
实验任务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 阅读全文
摘要:
实验任务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 阅读全文