Question: Write a Program. Using C++ OBJECT: To compute the net pay of an employee, given his/her pay rate, number of hours, and tax rate. INPUT:

Write a Program. Using C++

OBJECT: To compute the net pay of an employee, given his/her pay rate, number of hours, and tax rate. INPUT: his/her full name, pay rate and number of hours. (You will prompt the user with a friendly message to enter the employees full name, pay rate and number of hours.) OUTPUT: the employees gross pay, tax deduction, and net pay.

For example: Employees Name: Taylor Swift Your gross pay is: 1560.56 Your tax deduction is: 143.25 Your net pay is: 1417.31

METHOD: You must read the Employees full name. The gross pay is the pay rate times the number of hours; The tax deduction is computed as follows: 5% of the gross pay if the gross pay is less than or equal to 500.00 6% of the gross pay if the gross pay is greater than 500.00 but less than or equal to 1000.00 7% of the gross pay if the gross pay is greater than 1000.00 but less than or equal to 1500.00 8% of the gross pay if the gross pay is greater than 1500.00 The net pay is the total pay minus the tax deduction.

TOPICS: arithmetic operations, input with cin, formatted output with cout, program documentation and style, and if/else structure. You must return the following (in this order): The program source file The program output. C++ Computer Language

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!