//数组 int main()
{
int muber[];
double sum = 0.0;
int cnt =;
int x;
scanf("%d", &x);
while( x != -)
{
muber[cnt] = x;
cnt ++;
sum += x;
scanf("%d", &x);
}
if( cnt >)
{
int i;
double average = sum / cnt;
printf("平均值是%lf\n", average);
for (i =;i<cnt; i++)
{
if (muber[i] > average){
printf("大于平均值的数为:%d ",muber[i]);
}
}
}
return0;
}