Question: Write a C++ program to store 40 students information in an array of structure. Each students record has the following fields; First Name, Last Name,

Write a C++ program to store 40 students information in an array of structure. Each students record has the following fields; First Name, Last Name, Social Security Number, Student ID, Number of courses taken, and major. Your program should have at least the following functions:

Main()

Read each students record from a batch file and store it in an array of records. Create a text file.

Sort the list by name and store it in the second array of records.

Sort the list by social security number and store it in the second array of records.

Add a new record to the list.

Search students record by name. If more than one student are found with the same name then search by social security number.

Search students record by social security number.

Delete a record.

Display the first array of records.

Display the list sorted by name.

Display the list sorted by social security number..

Display a students record.

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!