Need help with this in C++ please.
To insert Table
al Chart
To Text 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 each employee, his gross pay, tax deduction, and net pay: for example
Name: Your gross pay is: Your tax deduction is: Your net pay is:
John Doe 900.00 90.00 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 sip; formatted output with cout program documentation; proper program indentation; logically-controlled iterations; running totals; dummy values; multiple-way selection structure