Question: Important note please read carefully: This is in C++ format. This is based on linked list (so you must use linked list operation on the

Important note please read carefully: This is in C++ format. This is based on linked list (so you must use linked list operation on the program). I am using dev c++ to compile this (it is a requirement), so if your using other compilers it might not work on mine, so please check first that it works on dev c++. Before posting your solution please make sure the program compiles and run, so that it doesn't waste the question. I will post how the output should look like after the question. Before doing the solution, please read the Poster Notes which I will highlight below. it is right after the output pic. I will appreciate the help I can get here.

Here is the question:

Use the linked list operation to write a program to enter data for staff members name and salary values (unidentified number of items, so use some sort of sentinel value). Calculate the average of salary values and display it. Sort the staff members names in alphabetical order using any sorting technique you want.

Output pic:

Important note please read carefully: This is in C++ format. This is

Poster Notes:

Don't forget to use the linked list operation to write a program part. the "Before sorting names" (from picture above) is not really important, the important part is the "after sorting" part. if you add the before sorting it would still be good (its your choice). Also, I would appreciate it if some parts were commented please, since i am really lost with this. Again this would need to compile and run in dev c++. This is my third time posting this question, so if you can solve this I would be extremely grateful.

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!