c语言编程,第一行输入数据个数,第二行输入数据,输出数据中最大值与最...答:include<stdio.h> int main(){ int i,max,min,n,a[105];scanf("%d",&n);scanf("%d",&a[1]);max=a[1]; min=a[1];for (i=2;i<=n;i++){ scanf("%d",&a[i]);if (a[i]>max) max=a[i];if (a[i]<min) min=a[i];} printf("max=%d min=%d\n",max,min);}...