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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!