Question: Create three base classes i.e. midterm, final term and quiz. Derive a class Final from it. The midterm, final term and quiz classes should take
Create three base classes i.e. midterm, final term and quiz. Derive a class “Final” from it. The midterm, final term and quiz classes should take marks of two subjects of one or two students. The derived class “final” should calculate the total marks, average marks and %age marks.
Do it in c++
Step by Step Solution
3.50 Rating (170 Votes )
There are 3 Steps involved in it
include using namespace std class midterm int sub1... View full answer
Get step-by-step solutions from verified subject matter experts
