Question: need help with this in C++ please. Tv Insert T Text Table Chart Shape Media Comment OBJECT: : To compute the payroll in a company

 need help with this in C++ please. Tv Insert T Text
need help with this in C++ please.

Tv Insert T Text Table Chart Shape Media Comment OBJECT: : To compute the payroll in a company with an unspecified number of employees, given an employee's pay rate, number of hours, and tax rate. A dummy pay rate of -99.00 will be used to stop the input data. For each employee, you will compute his/her gross pay, tax deduction, and net pay. You will also compute and print the total gross pay and the total tax deduction of the company. INPUT: For each employee, his name, pay rate, and number of hours. You will prompt the user with a friendly message to enter an employee's pay rate and number of hours. OUTPUT: For cach employee, his gross pay, tax deduction, and net pay: for example: Name: John Doe Your gross pay is: 900.00 Your tax deduction is: 90.00 Your net pay is: 810.00 Also print at the end the total gross pay and the total tax deduction of the company, METHOD For each employee, the gross pay is the pay rate times the number of hours. The tax deduction is computed as follows: 10% of the gross pay if the gross pay is less than or equal to 1000.00 15% of the gross pay if the gross pay is greater than 1000.00 but less than or equal to 1500.00 20% of the gross pay if the gross pay is greater than 1500.00 but less than or equal to 2000.00 25% of the gross pay if the gross pay is greater than 2000.00 The net pay is the gross pay minus the tax deduction TOPICS: input with sio: formatted output with cout, program documentation; proper program indentation; logically-controlled iterations running totals, dummy values; multiple-way selection structure. You must return the following in this order): 1. The program source file 2. The program output

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