/* Note:Your choice is C IDE */
#include "stdio.h"
int Count(double a[], int n)
{
int i,s=0;
double ave,sum=0;
for(i=0;i=ave)
s++;
}
return s;
}
void main()
{
int s;
double a[10]={1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0};
s=Count(a ,10);
printf("超过平均值的有 %d 个!",s);
}