C语言编写一套学生成绩管理系统,可以计算学生平均分,各科平均分,按学生平均成绩排序,统计不合格学生信息。

直接上代码#include <stdio.h>#include<stdlib.h>#define N 10 //假设有十个学生#define M 4void main(){ int score[N][M];//定义一个二维数组,行表示学生号,列用来放三个科目第四列用来存放学生平均分char choice='1';void input(int a[][M],i...
摘要由CSDN通过智能技术生成

直接上代码

#include <stdio.h>
#include<stdlib.h>
#define N 10 //假设有十个学生
#define M 4
void main()
{ int score[N][M];//定义一个二维数组,行表示学生号,列用来放三个科目第四列用来存放学生平均分
char choice='1';
void input(int a[][M],int,int);//函数声明
void aver_stu(int score[][M],int,int);
void aver_cour(int score[][M],int,int);
void orde_aver(int score[][M],int,int);
void failed(int score[][M],int,int);
input(score,N,M);
/*显示主菜单*/
while(choice!='0')
{ system("cls");//清屏
printf(" ==========the Score Processing System ====================\n");
printf("1.print each student's average\n");
printf("2.print each course's average\n");
printf("3.Order the students by student's average decreasingly \n");
printf("4.print the failed student \n");
printf("0.Exit the system \n");
printf("&#
  • 17
    点赞
  • 73
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值