Question: Program 7 CSDP 222 Fall 2017 Due 13 October 2017 Write a program that dynamically allocates an array large enough to hold a user-defined number
Program 7 CSDP 222 Fall 2017 Due 13 October 2017 Write a program that dynamically allocates an array large enough to hold a user-defined number of test scores. Once the scores are read in from the file grades.dat, the array should be passed to a function that sorts them in ascending order. The lowest test score should be dropped and 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. The file - grades.dat will be attached to an email and sent to you. Input validation: Do not accept negative numbers for test scores
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
