C语言复习题整理

loading 分享 2026-7-16 下载文档

{

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 ); }


C语言复习题整理.doc 将本文的Word文档下载到电脑
搜索更多关于: C语言复习题整理 的文档
相关推荐
相关阅读