Course Solutions Uncategorized (Solved) : C Write Class Named Testscores Class Constructor Accept Array Test Scores Argument Class M Q36374693 . . . .

(Solved) : C Write Class Named Testscores Class Constructor Accept Array Test Scores Argument Class M Q36374693 . . . .

 

In c++

Write a class named TestScores.The class constructor shouldaccept an array of test scores as its argument.
The class should have a method that returns the average of the testscores.
If any test score in the array is negative or greater than 100, theclass should throw an Exception.
Demonstrate the class in a program.

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post