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

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

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!