Question: Write a class SUBJECT that has the data members marks and GPA. Create 2 objects of class SUBJECT and initialize data members with input function.
Write a class SUBJECT that has the data members marks and GPA. Create 2 objects of class SUBJECT and initialize data members with input function. Write a function TOTAL that displays the total marks and a function CGPA that displays the CGPA stored against 2 objects. Do it in c++ it is question of OOP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
