Task 2: Create a class Person with member data name, ID, constructor, destructor and member function display.
Create a class Student_info, which inherits class Person, in which member data for faculty number, group and faculty are added. The class contains a constructor, member functions for accessing the data, for change of ID and for displaying the data.
Add Class Student_marks, which inherits class Student_info and contains marks in 3 subjects, constructor, member function show () to display the marks and member function av() to calculate the average grade.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-38562.pdf
Comments
Dear aydjan. You're welcome. We are glad to be helpful. If you really liked our service please press like-button beside answer field. Thank you!
thank you so much
Leave a comment