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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!