Starting out with c++ 7th ed gaddis
Chap 9 program challenge 2
2. Test scores #1
Write a program that dynamically allocates an array large enough to hold a user-defined number of test scores. Once all the scores are entered, the array should be passed to a function that sorts them in ascending order. Another function should be called that calculates the average score. The program should display the sorted list of scores and average with appropriate headings. Us epointer notation rather than array notation whenever possible.
Input validation: Do not accept negative numbers of test scores.
3. Drop lowest score
Modify Problem 2 above so the lowest test score is dropped. This score should not be included in the calculation of the average.