#include
const int n = 10;
int main()
{
int i, sum = 0, ave, count = 0;
int a[n];
printf("请输入%d个正整数:\n", n);
for (i = 0; i < n; i++)
scanf("%d", &a[i]);
for (i = 0; i < n; i++)
sum += a[i];
ave = sum / n;
for (i = 0; i < n; i++)
if (a[i] > ave)
count++;
printf("大于平均分的人数是 %d\n", count);
return 0;
}