Question: ***IMPORTANT*** Please don't use data structures or pointers try to empathize the arrays. keep the program simple Write a C++ program to create a payroll

***IMPORTANT*** Please don't use data structures or pointers try to empathize the arrays. keep the program simple
Write a C++ program to create a payroll report based on the following assumptions and requirements A company called Data Housing Corp. employs several employees, all employees are paid on hourly base, any employee who works over than 40 hours is entitled to be paid overtime (1.5 for every hour exceeding 40). Calculate: I. The Gross income: Gross income = (Rate * hours worked) + over time. 2. The Overtime: Overtime= number of hours exceeding 40* Rate*1.5 State Tax: Federal Tax: fed Tax Gross * 12% Union fees: Union fees "Gross * 2% Net: Total Gross for all employees. Average Gross for all employees. State Tax-gross* 690 4, 5. 6. 7. 8. Net Gross - (state tax + fed tax +Union fees). Directions: MUST USE: a) ARRAYS b) Typedef (for string data types) DO NOT USE functions Your input consists of Employee First Name, Middle Initial, Last name, Hours worked, Rate per Hour State tax, Fed tax and Union fees are constants. Your FORMATTED Output includes all input information and all calculated information such as (gross, net. etc.) . Apply (whatever is applicable): Loops, constants, data validation, if, else, switch, arrays, precision .. . Input validation (hours greater than 0 and less than 60, rate greater than 0 and less than50) . Document your program (add comments) . Submit: . The source code program and the output . The output in the following format: Data Housing Corp. Weekly Payroll Last name Rate per hour Hours worked.. Smith First Name MI Joe S10.99 40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
