Question: Create a class Student . Create 6 member variables with different subject names. Create a member function that displays the subjects marks and also display
Create a class Student.
Create 6 member variables with different subject names.
Create a member function that displays the subject’s marks and also display the average of the all subjects.
Create two objects S1 and S2 for the class Student.
Further, display that which object of the class has highest subject average
Step by Step Solution
3.43 Rating (162 Votes )
There are 3 Steps involved in it
include include Class s... View full answer
Get step-by-step solutions from verified subject matter experts
