我这里哪里出现问题了?
{
int score[10]={67,98,75,63,82,79,81,91,66,84};
int sum;
int max=score[0];
int min=score[0];
int x,N,temp;
for(N=0;N<10;N++)
{
sum+=score[N];
x=sum/10;
if(max<score[N])
max=score[N];
if(min>score[N])
min=score[N];
}
for(N=0;N<10;N++)
{
if(score[N]>score[N+1])
{
temp=score[N];
score[N]=score[N+1];
score[N+1]=temp;
}
printf("\n",score[N]);
}
printf("考试总分为%d\n\n,最高分为%d\n\n,最低分为%d\n\n,平均分为%d\n\n",sum,max,min,x);
return 0;
}