C语言复习题整理

{

char name[10]; int score;

}stud[6]={\李明\张三\吴大\钟六\向杰\齐伟\ max=min=1; for (i=0;i<6;i++)

if(stud[i].score>stud[max].score) 【8】max=i ; else

if(stud[i].score

printf(\最高分获得者为:%s,分数为:%d\ 【10】stud[max].name, stud[max].score ); printf(\最低分获得者为:%s,分数为:%d\ 【11】stud[min].name, stud[min].score ); }

联系客服:779662525#qq.com(#替换为@)