}Р printf("----------------------\n");Р Р printf("学号姓名成绩\n");Р for(j=0;j<N;j++)Р {?Р printf("%d %-10s%5.1f\n",stu[j].num,stu[j].name,stu[j].score[x]);Р sum+=stu[j].score[x];?Р?Р if(stu[j].score[x]>=90 && stu[j].score[x]<=100)Р a[0]++;Р?elseР Р if(stu[j].score[x]>=80 && stu[j].score[x]<90)Р a[1]++;Р elseР if(stu[j].score[x]>=70 && stu[j].score[x]<80)Р a[2]++;Р?elseР if(stu[j].score[x]>=60 && stu[j].score[x]<70)Р a[3]++;Р?elseР a[4]++;Р }Р aver=sum/3.0;Р printf("----------------------\n");Р printf("全班成绩统计:平均分:%5.1f\n",aver);Рprintf("90-100分%6d人占%.2f%%\n",a[0],a[0]*100.0/N);Рprintf("80-90分%6d人占%.2f%%\n",a[1],a[1]*100.0/N);Рprintf("70-80分%6d人占%.2f%%\n",a[2],a[2]*100.0/N);Рprintf("60-70分%6d人占%.2f%%\n",a[3],a[3]*100.0/N);Рprintf("60分以下%6d人占%.2f%%\n\n\n",a[4],a[4]*100.0/N);Р}Р【实验总结】Рxxxxxxxxxxx.