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
cept an integer argument indicating the number of elements to allocate. The function ould return a pointer to the array. est Scores \#1 Irite a program that dynamically allocates an array large enough to hold a userfined number of test scores. Once all the scores are entered, the array should be ssed to a function that sorts them in ascending order. Another function should be lled that calculates the average score. The program should display the sorted list of ores and averages with appropriate headings. Use pointer notation rather than array tation whenever possible. put Validation: Do not accept negative numbers for test scores. rop Lowest Score Iodify Problem 2 above so the lowest test score is dropped. This score should not be cluded 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
