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

  1. Create a class Student. 

  1. Create 6 member variables with different subject names. 

  1. Create a member function that displays the subject’s marks and also display the average of the all subjects. 

  1. Create two objects S1 and S2 for the class Student. 

  1. 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

1 Expert Approved Answer
Step: 1 Unlock

include include Class s... View full answer

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 Programming Questions!