Write a program that dynamically allocates an array large enough to hold a number of test score. The size of the array should be input by the user. Once all the scores are entered, the array should be passed to a function that calculates the average score and returns the average. The main function should display the average. (Do not accept negative numbers for test scores.)