Write this program in C++ with main and the output.
7. TestScores Class Write a class named Test Scores. The class constructor should accept an array of test age of the test scores. If any test score in the array is negative or greater than 100, the class should throw an exception. Demonstrate the class in a program.