Question: c++ please Question 3 [30 points]: Write a class called Grades, define 3 private variables as Test1, Test2 and Test3. The class would include public
![c++ please Question 3 [30 points]: Write a class called Grades,](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f305c475513_75666f305c419349.jpg)
c++ please
Question 3 [30 points]: 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
