学生成绩管理系统v4.0.docx

  1. 1、本文档共8页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
//成绩管理系统v1.0 // 能动1302 王清栋 1306030217 #include stdio.h #include stdlib.h #define N 30 #define M 6 void Input (long num[],int score[][M],int n,int m); void Totalave (int score[][M],int n,int m); void evestuTotalave (int score[][M],int n,int m,long num[]); void Scoredes (long num[],int score[][M],int n,int m); void Scoreas (long num[],int score[][M],int n,int m); void Numas (long num[],int score[][M],int n,int m); void Search (long num[],int score[][M],int n,int x,int m); void statistis (long num[],int score[][M],int n,int m); void List (long num[],int score[][M],int n,int m); int main() { int n,score[N][M],c,x,m; long num[N]; printf(输入学生人数); scanf(%d,n); printf(输入考试科目); scanf(%d,m); printf(1.Input record\n); printf(2.Caculate totel and average score of every course\n); printf(3.Caculate totel and average score of every student\n); printf(4.Sort in descending order by total score of every student\n); printf(5.Sort in ascending order by total score of every student\n); printf(6.Sort in ascending order by number\n); printf(7.Search by number\n); printf(8.Statistic analysis for every course\n); printf(9.List record\n); printf(0.Exit\n); printf(Please enter your choice:\n); printf(\n); for(;;) { scanf(%d,c); switch(c) { case 1: //录入学生学号和各科成绩 Input (num,score,n,m); printf(Please enter your choice:\n); break; case 2: //计算每门课程的总分和平均分 Totalave (score,n,m); printf(Please enter your choice:\n); break; case 3: //计算每个学生的总分和平均分 evestuTotalave (score,n,m,num); break; case 4: //按每个学生的总分由高到低排出名次表 Scoredes (num,score,n,m); printf(Please enter your choice:\n); break; case 5: //按每个学生的总分由低到高排出名次

文档评论(0)

dmz158 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档