#define N 10
void main()
{
int count;
float sum,average,number;
clrscr();
sum=0;
count=0;
while(count < N)
{
scanf("%f", &number);
sum=sum+number;
count=count+1;
}
average = sum / N;
printf("N = %d Sum = %f",N,sum);
printf("Average = %f",average);
getch();
}