Description Create an application that will maintain an orde
Description
Create an application that will maintain an ordered linked list of employees. Each employee data will comprise an int id, a string name, and a double salary. The employees will be kept in ascending order by their ids. The application will provide for the following operation:
Adding an employee to the list by id
Removing an employee by id from the list
Finding an employee in the list by id and displaying its data
Updating an employee salary by id
Displaying the list of all the employees in ascending order by id
Calculating the average salary of all the employees and displaying it
If the user tries to add an employee with an existing id, the program will display %u201CId already exists%u201D.
If the user tries to remove an employee that doesn%u2019t exist, the program will display %u201CId doesn%u2019t exist%u201D.
If the user tries to find a non-existent employee, the program will display %u201CId doesn%u2019t exist%u201D.
If the user tries to display an empty list, the program will display %u201CList empty%u201D.
Solution
You want the code in Java or C++? Let me know. I ll code it for you