文件名称:cPP
介绍说明--下载内容均来自于网络,请自行研究使用
定义一个Score类,其中包括私有数据成员和公有成员函数,即
num 学号
Math 高等数学成绩
English 英语成绩
Programming 程序设计成绩
getScore() 输入学号和各科成绩,
calculateScore() 计算平均成绩
showScore() 输出学号和各科成绩
使用Score类,输入某班n个学生的学号和各科成绩,然后求各个学生的平均成绩,并列表输出学生的学号、各科成绩和平均成绩。
-Define a Score class, including private data members and public member functions, the num learn higher mathematics achievement in Math, English achievement Programming Programming the results getScore () Enter the Student ID and all subjects, calculateScore () calculation average score showScore of () output Student ID and all subjects using the Score class, enter the student number and all subjects of a class of n students, and then ask each student' s grade point average, and the number of students' learning of a list of output, all subjects and grade point average.
num 学号
Math 高等数学成绩
English 英语成绩
Programming 程序设计成绩
getScore() 输入学号和各科成绩,
calculateScore() 计算平均成绩
showScore() 输出学号和各科成绩
使用Score类,输入某班n个学生的学号和各科成绩,然后求各个学生的平均成绩,并列表输出学生的学号、各科成绩和平均成绩。
-Define a Score class, including private data members and public member functions, the num learn higher mathematics achievement in Math, English achievement Programming Programming the results getScore () Enter the Student ID and all subjects, calculateScore () calculation average score showScore of () output Student ID and all subjects using the Score class, enter the student number and all subjects of a class of n students, and then ask each student' s grade point average, and the number of students' learning of a list of output, all subjects and grade point average.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
c++实验三
.........\Score.cpp
.........\score.docx
.........\~$score.docx
.........\Score.cpp
.........\score.docx
.........\~$score.docx