Question: In c++ 1) Write a program that reads information about employees of a company from a file. The information in the file is ordered based

In c++ In c++ 1) Write a program that reads information about employees of

1) Write a program that reads information about employees of a company from a file. The information in the file is ordered based on the salary. An employee with the highest salary, for example, should appear at the top. Your program should first read the contents of the input file, create a linked list to store the contents, and then display the original list. Then, it will delete the employee with ID 444444444 from the list and will display the list again. The last step your program perform is to insert three new employees into the list and display the final results. The insertions should maintain the ordering property (descending salary) by searching for the right place in the list to insert. Here is the information on the three new employees. Last Name First Name ID Phone Salary Wood Ironman Goal-keeper Carpenter Iron Martin 333556666 222-222-2222 40000 444444443 828-888-8888 73000 Here is the input file. Doe Doe Hardworker Programmer John Jan John Travis 555555555 333-333-3333 85000 444444444 333-333-3333 76000 888888888 888-888-8888 75000 555446666 666-666-6666 45000

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!