Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

design a testScores class that has member variables to hold three scores. Thae c

ID: 3636561 • Letter: D

Question

design a testScores class that has member variables to hold three scores. Thae class should have a constructor, accessor, and mutator functions for the test score fields, and a member function that returns the average of the test scores. Demonestrate the class by writting a separate problem that creates an instance of the class. The program should ask the user to enter three test scores, which are stored in the testScores object. the the program should display the average of the scores, as reported by the testScores object.

Explanation / Answer

#include #include class calcavg { Int T1,T2,T3,AVG; // Member Variables public: Void calcavg(INT T1,T2,T3) ; //Constructor { int avg; avg=T1+T2+T3/3; countT2; count