Introduction - If you have any usage issues, please Google them yourself
According to the requirements of the following program.
(1) to define a Score . It has a
Three data members:
Chinese// language lesson
English// English class
Mathematics// math grades
Two constructors: no arguments and parameters
3 a member function: whether or not to bring a parameter set according to need
The sum ()// calculate the total grade three classes
Print ()// output three classes grades and grade
The modify ()// modify three classes
(2) define a staff people
(3) define a Student class Student. It has a
Three data members:
Num// student id
The Name// Name
MyScore// performance
Two constructors: no arguments and parameters
3 a member function: whether or not to bring a parameter set according to need
The sum ()// some students total grade three classes
Print ()// output a student student id, name, and grades
The modify ()// modify a student student id, name, and grades
(3) in the main function, define a student first class array of objects, and then