Question: Input Validation: Do not accept negative numbers for test scores. We also need to have input validation for the number of scores. If it is
accept an integer argument indicating the number of elements to allocate. The function should return a pointer to the array. Test Scores \#1 Write a program that dynamically allocates an array large enough to hold a userdefined 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 o scores and averages with appropriate headings. Use pointer notation rather than arra' notation whenever possible. Input Validation: Do not accept negative numbers for test scores. Drop Lowest Score Modify Problem 2 above so the lowest test score is dropped. This score should not included in the calculation of the average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
