Question: Write a program using C++ that will simulate a payroll system. it will collect from the keyboard the payRate and the hoursWorked. Once you've collected
Write a program using C++ that will simulate a payroll system. it will collect from the keyboard the payRate and the hoursWorked. Once you've collected the data, use the following three functions.
1. Double getGrossPay(double, double);
2. Double getNetPay(double); //note the formula for tax deduction (grossPay - (grossPay *.1)
3. Void printPayCheck(double)
Make sure it runs until the user is finished using it.
Please use good comments in the code. (Finish by the end of the today if possible, thanks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
