lude<stdio.h>#defineN5structstudent{?intno;?charname[10];?floatscore[3],sum,ave;};voidmain(){?structstudentstu[N];?floatmax;?inti,j,maxi;?scanf("%d%s",&stu[0].no,stu[0].name);?stu[0].sum=0;?stu[0].ave=0;?for(j=0;j<3;j++){ scanf("%f",&stu[0].score[j]); stu[0].sum+=stu[0].score[j]; stu[0].ave+=stu[0].score[j]/3;?}?max=stu[0].sum;?maxi=0;?for(i=1;i<N;i++){ scanf("%d%s",&stu[i].no,stu[i].name); stu[i].sum=0; stu[i].ave=0; for(j=0;j<3;j++){ scanf("%f",&stu[i].score[j]); stu[i].sum+=stu[i].score[j]; stu[i].ave+=stu[i].score[j]/3; } if(stu[i].sum>max){ max=stu[i].sum; maxi=i; }?}?printf("姓名总分平均成绩\n");?for(i=0;i<N;i++) printf("%s%.0f%.1f\n",stu[i].name,stu[i].sum,stu[i].ave);?printf("总分数最高的学生信息如下:\n");?printf("%d%s",stu[maxi].no,stu[maxi].name);?for(j=0;j<3;j++) printf("%.0f",stu[maxi].score[j]);}