Reference no: EM132178553
Well this must be a really hard question because this is my forth time asking it because all the answers have been incorrect, good luck:) I am freaking out a little inside.
Program is to be written In C++, The output should look like the screen shot. It should allow the user to continue to ask the user to enter all employee ID's until done and then prompt the user to enter the hours and pay rate for each employee ID.
Please help:( Can you please run the program to make sure the output is just like the screenshot please? It needs to have the output of the program ran that is in the screenshot provided, thanks:)
Advanced Linked Lists
You have been hired by Employees, Inc to write an employee management system. The following are your specifications:
Write a program that uses the following linked lists:
empId: a linked list of seven long integers to hold employee identification numbers.
hours: a linked list of seven integers to hold the number of hours worked by each employee
payRate: any data structure (your choice) of seven doubles to hold each employee's hourly pay rate
wages: a linked list of seven doubles to hold each employee's gross wages
The program should display each employee number and ask the user to enter that employee's hours and pay rate. It should then calculate the gross wages for that employee (hours times pay rate) and store them in the wages array. After the data has been entered for all the employees, the program should display each employee's identification number and gross wages.
Input Validation: Do not accept negative values for hours or numbers less than 15.00 for pay rate.
When the program starts, it should ask the user to enter the employee IDs. There should be no limit on the number of IDs the user can enter.
The following is an example of the program ran:
Enter an employee ID number: 5658845
Do you want to enter another one? (y or n) y
Enter an employee ID number: 4520125
Do you want to enter another one? (y or n) y
Enter an employee ID number: 7805122
Do you want to enter another one? (y or n) n
Enter the requested data for employee number 5658845.
Hours worked: 23
Pay rate: 12.34
Pay rate must be 15.00 or more. Please re-enter: 16.78
Enter the requested data for employee number 4520125.
Hours worked: 32
Pay rate: 23.45
Enter the requested data for employee number 7805122.
Hours worked: 21
Pay rate: 23.45
Employee Wages
Employee # 5658845 $385.94
Employee # 4520125 $750.40
Employee # 7895122 $492.45