Question: * c++ * Write a class called Grades, define 3 private variables as Test1, Test2 and Test3. The class would include public setters and getters
* c++ * Write a class called Grades, define 3 private variables as Test1, Test2 and Test3.
The class would include public setters and getters to set and get the private variables.
Write a function to calculate average of 3 Tests.
Create 2 objects as Student1 and Student2 and enter test grades for both. At the end, print average grades of
students.
Example output: Average of student1= 91.6667 Average of student2= 60.3333
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
