学生成绩管理系统V2.0资料讲解.docx
《学生成绩管理系统V2.0资料讲解.docx》由会员分享,可在线阅读,更多相关《学生成绩管理系统V2.0资料讲解.docx(3页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、#include /include /include int main()(int a,b,d,e,n,z;float c=0,g;printfflnput student number(n30):n);scanf(%d,&n);long vn,f;float vcn;next:;int xl=0,x2=0,x3=0,x4=01x5=01x6=0;int zl=60,z2=69.z3=70,z4=79,z5=80,z6=89,z7=90,z8=99.z9=100;printf(Management for Students scoresn1.Input recordn2.Caculate to
2、tal and average score of coursen3.Sort in descending order by scoren4.Sort in ascending order by scoren5.Sort in ascending order by numbern6.Search by numbern7.Statistic analysisn8.List recordnO.ExitXnPlease Input your choice:n);scanf(%d,&a);switch (a)(case 1: printfflnput students ID and score:n);f
3、or (b=0;bn;b+)(scanf(,%ld%f,&vb.&vcb);)break;case 2: for (b=0;bn;b+)(c=c+vcb;)printf(sum=%.0f1aver=%.2fn,c,c/n);break;case 3: printf(Sort in descending order by score:n);for (d=0;dn;d+)(for (e=d+l;en;e+)(if (vcdvce)(g=vcd;vcd=vce;vce=g;g=vd;vd=ve;ve=g;)for (b=0;bn;b+)(printf(%ldt%.Ofn,vb,vcb);)break
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 学生 成绩管理系统 V2 资料 讲解
限制150内