Question: Write a program in C++ to: Read all records from a disk file (which will be emailed to you) to arrays: (the record structure: name
Write a program in C++ to: Read all records from a disk file (which will be emailed to you) to arrays: (the record structure: name (20 bytes), grade (integer)) Sort the list according to test scores: Calculate the average test score for the class and print on the screen: write sorted records to a new disk file. For example: The records in the original file: A. Smith 89 T. Phillip 95 S. Long 76 The new file sorted by scores: S. Long 76 A. Smith 89
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
