请求大神解释啊 可以吗
#include<stdio.h>#define N 10
void main () {
float score[N+1];
int i,minno=1,maxno=1;
float sum=0,aver;
printf("please input %d scores:\n",N)
for (i=1;i<=N;i++)
scanf("%f",&score[i]);
for(i=2;i<=N;i++)
if (score[i]<score[minno])minno;
if(score[i]>score[maxno])maxno=i;
}
for (i=1;i<=N;i++)
sum+=score[i];
sum-=score[minno]+score[maxno];
aver=sum/(N-2);
printf("No.of min score is %d\n",minno);
printf("No.of max score is %d\n",maxno);
printf("******"average score ******\n");
printf("\t%7.4f\n",aver);
}