Question: In C++ for data structures class: You have been hired by Employees, Inc to write an employee management system. The following are your specifications: Write
In C++ for data structures class:
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. The array should be initialized with the following numbers: 5658845 4520125 7895122 8777541 8451277 1302850 7580489
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 employees hourly pay rate
wages: a linked list of seven doubles to hold each employees gross wages
The program should display each employee number and ask the user to enter that employees 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 employees 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 screenshot shows a small subset of an example program run:
Screenshot 2016-09-18 20.07.27.png

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
