Question: The program that calculates the simple weekly payroll for up to20 employees. The app will prompt for employee name, hourly rateand number of hours worked.

The program that calculates the simple weekly payroll for up to20 employees. The app will prompt for employee name, hourly rateand number of hours worked. It will then calculate for gross pay(hourly rate * number of hours worked), withholding tax deduction(gross pay * 5%), social security deduction (gross pay * 3%), andmedicare deduction (gross pay * 1%). The payroll report will showthe calculation for each employee and the cumulative totals.Example: How many employees to process? 2 1 Enter name: John 1Enter hourly rate: 15.75 1 Enter number of hours worked: 35 2 Entername: Maria 2 Enter hourly rate: 20.00 2 Enter number of hoursworked: 40 Employee: rate: hours: Gross: W/T: SS: Med: Net: John15.75 35 551.25 27.56 16.54 5.51 501.64 Maria 20 40 800 40 24 8 728Total 75 1,351.25 67.56 40.54 13.51 1,239.64

This needs to be in c++.

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 Programming Questions!