文件名称:Class-Student
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-12-14
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- HiJ***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
5. 设计一个学生类CStudent,该类有以下几个私有成员变量:学生姓名、学号和性别和三门课的成绩。有实现下述功能的成员函数:1)初始化学生姓名、学号、性别和年龄;2)输入四门课的成绩,并计算平均成绩和总成绩;3)输出学生信息。以CStudent类为基础设计开发一个学生成绩管理系统。要求具有以下功能:
1) 运行程序后显示以下信息:1、Display all information
2、Add a student
3、Delete a student
4、Quit
2) 按1后进行简单数据处理并输出所有信息,输出的信息包括: 序号、学生姓名、学号、三门课的成绩、该学生的平均成绩、总成绩;并在最后计算每一门课程的平均成绩。
3) 按2选择增加学生信息,学生数量最多为50,超过之后无法输入。输入信息包括学生姓名、学号和三门课程成绩(在程序中可以事先初始化几个学生信息)。
4) 按3删除学生信息,根据输入序号删除对应的学生信息,序号从0依次往后排,当删除中间的学生信息后,将该序号后的学生信息依次往前移。
5) 每次处理完之后继续显示之前的信息,可以再次按键进行操作。
6) 按4退出程序。
-5. Design a student class CStudent, this class has the following private member variables: student' s name, student number and gender and three courses achievements. We have member functions to achieve the following functions: 1) initialization student name, student number, sex and age 2) Enter the four subjects scores, and calculate the average score and total score 3) student information output. In CStudent class-based design and development of a student achievement management system. Required to have the following features: 1) Run the program displays the following information: 1, Display all information 2, Add a student 3, Delete a student 4, Quit 2) by 1 after a simple data processing and output of all the information, the information output includes : serial number, student name, student number, three classes of grades, the student' s grade point average, a total score and the average score in the final calculation of each course. 3) Press 2 to increased student informa
1) 运行程序后显示以下信息:1、Display all information
2、Add a student
3、Delete a student
4、Quit
2) 按1后进行简单数据处理并输出所有信息,输出的信息包括: 序号、学生姓名、学号、三门课的成绩、该学生的平均成绩、总成绩;并在最后计算每一门课程的平均成绩。
3) 按2选择增加学生信息,学生数量最多为50,超过之后无法输入。输入信息包括学生姓名、学号和三门课程成绩(在程序中可以事先初始化几个学生信息)。
4) 按3删除学生信息,根据输入序号删除对应的学生信息,序号从0依次往后排,当删除中间的学生信息后,将该序号后的学生信息依次往前移。
5) 每次处理完之后继续显示之前的信息,可以再次按键进行操作。
6) 按4退出程序。
-5. Design a student class CStudent, this class has the following private member variables: student' s name, student number and gender and three courses achievements. We have member functions to achieve the following functions: 1) initialization student name, student number, sex and age 2) Enter the four subjects scores, and calculate the average score and total score 3) student information output. In CStudent class-based design and development of a student achievement management system. Required to have the following features: 1) Run the program displays the following information: 1, Display all information 2, Add a student 3, Delete a student 4, Quit 2) by 1 after a simple data processing and output of all the information, the information output includes : serial number, student name, student number, three classes of grades, the student' s grade point average, a total score and the average score in the final calculation of each course. 3) Press 2 to increased student informa
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Exp2_5.cpp