#include<stdio.h>
#define NOT_FIND -1
#define TOTAL_STU 8
/* 函数aver的功能为:求学号为stuNo的学生的6门课课程之平均成绩,并通过函数值返回
若未找到学生stuNo,则返回NOT_FIND */
float aver(int (*pStu)[7], int stuNo);
int main(void)
{
int student[TOTAL_STU][7]
【C语言】先从键盘读入的8个学生的6门课成绩存放在二维数组student中(每一行存储一个学生的数据,第0列为学号,第1~6列依次为6门课的成绩),再从键盘读入一个学号,在student查找该学生是否
最新推荐文章于 2024-05-21 19:00:05 发布