TestScores Class
Write a class named TestScores. The class constructor should accept an array of test scores as its argument. The class should have a method that returns the average of the test scores.
Write an exception named InvalidTestScores, which is thrown by the TestScores class if any of the test scores in the array are invalid.
Sample Output:
Invalid score found.
Element: 3 Invalid Score: 101.0
The average of the good scores is 90.24
Press any key to continue . . .