Question: Write a program in C++ to: 1. Read all records from a disc file (also attached to this email) to arrays; (the structure of records:

Write a program in C++ to: 1. Read all records from a disc file (also attached to this email) to arrays; (the structure of records: student number (20 bytes), grade (integer) 2. Sort the list according to test scores 3. Calculate the average test score for the class and print on the screen; 4. save sorted records to a new disc file (use a different file name) For example: The records in the original file: 1 89 95 76 The new file sorted by scores: 3 76 89 95
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
