Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Performance Engineering 10th European Workshop Epew 2013 Venice Italy September 17 2013 Proceedings

Authors: Maria Simonetta Balsamo ,William Knottenbelt ,Andrea Marin

2013 Edition

3642407242, 978-3642407246

More Books

Students also viewed these Programming questions

Question

Find an equation of the given line. Slope is -2; x-intercept is -2

Answered: 1 week ago