Question: Write a function that dynamically allocates an array of integers. The function should accept an integer argument indicating the number of elements to allocate. The
Write a function that dynamically allocates an array of integers. The function should 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 of scores and averages with appropriate headings. Use pointer notation rather than array 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 be
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
