Month: October 2021

b) Implement the following class hierarchy.
Student: id, name,
StudentExam (derived from Student): Marks of n subjects (n can be variable)
StudentResult (derived from StudentExam): percentage, grade
Define a parameterized constructor for each class and appropriate functions to accept and display details. Create n objects of the StudentResult class and display the mark list using suitable manipulators.

Implement the following class hierarchy student CPP / Assignment 15 / Set A