-
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