#include <stdio.h>
#define NUM 10
int main()
{
float score[10],high,average;
int i;
printf("Enter 10 students' score:");
for(i=0;i<NUM;i++)
{
scanf("%f",&score[i]);
}
high=score[0];
float sum=0;
for(i=0;i<NUM;i++)
{
if(score[i]>high)
high=score[i];
sum+=score[i];
}
average=sum/NUM;
printf("high=%0.2f\n",high);
printf("average=%0.2f\n",average);
printf("Output over average scores:");
for(i=0;i<NUM;i++)
{
if(score[i]>average)
printf("%0.2f\t",score[i]);
}
return 0;
}