摘要:
4.task.4 #include<stdio.h> int main(){ FILE *fp; char ch; int count=0; fp=fopen("d:\\data4.txt","r"); if(fp==NULL){ printf("fail to open file\n"); ret 阅读全文
摘要:
task1.1 #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 阅读全文
摘要:
1.实验任务1 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 int main() { int number; int i; srand(time(0)); for(i=0;i<N;++i) { number=ra 阅读全文