Question: Write a program in C++ to: ead all records from a disk file (which will be emailed to you) to arrays, the record structure: name

 Write a program in C++ to: ead all records from a
disk file (which will be emailed to you) to arrays, the record

Write a program in C++ to: ead all records from a disk file (which will be emailed to you) to arrays, the record structure: name (20 bytes), grade (nteger) 2. Sort the list according to test scores 3. Calculate the average test score for the class and print on the screen 4. write sorted records to a new disk file. For example: The records in the original file: A. Smith 89 T.Phillip95 S. Long 76 The new file sorted by scores: S. Long A. Smith 76 89 Philli

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!