NEED A C++ SOLUTION
Create a simple payroll program that:
- Use three arrays to hold the following data:employee name (last name only), hourly wage (in pennies, so make itan int rather than a double), andhours worked (rounded to the nearest hour, so again make it anint.)
- Has the user enter those fields for three employees. (Hint: Usea const int to hold the number of employees)
- Display the values for all employees
- calculate the total pay (hourlyWage * hoursWorked) and displayit along side the values entered by the user.
- Go back and format the output like a table:
- Add a heading row before you start printing the actualdata
- Use
OROR