#include<stdio.h>
#define N 10
int main(void)
{
int i;
float a[N],sum = 0,aver;
printf("Please input %d numbers:\n",N);
for(i = 0; i < N;i++)
{
scanf("%f",&a[i]);
sum += a[i];
}
aver = sum/N;
printf("The average of %d numbers is :%f",N,aver);
return 0;
}