Main() // It is better to change it to void main (). Now it is the C99 standard, please use int main(void).
{
float a[ 10],Min,Max,j,Sum
int I;
Printf ("Please enter 10 students' math scores");
for(I = 0; I< 10; i++)
scanf("%f ",& ampa[I]);
sum = 0; max = 0; min = 100; // Min= 100 is so creative, it's better to change it to Min=a[0] and Max=a[0].
for(I = 0; I< 10; i++)
{
Sum = Sum+a[I];
if(a[I]& gt; Max)
max = a[I];
if(a[I]& lt; Minimum)
min = a[I];
}
j = Sum/ 10;
Printf(" 10 students, the highest math score is %f, the lowest is %f, and the average is %f ",Max, Min, j);
}