#includevoid main(){int i;int a[50];float aver=0;printf("请输入整数个数n: ");scanf("%d",&i);for(int j=0;jscanf("%d",&a[j]);for(int k=0;kaver=(a[k]+aver)/2;printf("平均值为:%f\n",aver);printf("小于平均值的数:");for(int n=0;nif(a[n]printf("%d ",a[n]);printf("\n");}