Question: Please do this program for C++ Please make sure it works. please read all the criteria and check the grading criteria. please separate the project

Please do this program for C++ Please make sure it works. please read all the criteria and check the grading criteria. please separate the project into 3 files 1) interface.h 2) implementation.cpp 3) testing.cpp the testing file should include the main function and There should only be minimal code in the Test file, just enough to instantiate an object, and invoke the appropriate function(s)

Create a program that calculates and displays (to 2 places ofdecimal) the weekly

gross pay of hourly employees, contract employees, and salaried employees. ? The weekly gross pay of a salaried employee is calculated by dividing the employees annual salary by 52. ? The weekly gross pay of an Hourly employee is calculated as follows: o If the employee works for 40 hours or less, the gross pay is calculated by multiplying the number of hours worked by the pay rate. o If the number of hours worked by the employee exceeds 40hours, but is not over 50 hours, the employee will receive regular pay for the first 40 hours, and receive time-and-a-half pay for the hours in excess of 40. o If the number of hours worked by the employee exceeds 50 hours, the employee will receive regular pay for the first 40 hours, receivetimeand-a-half pay for the time between 40 and 50 hours, and receive double pay for the time over 50 hours. o An hourly employee must not work more than 60 hours per week. ? The weekly gross pay of a contract employee is calculated by multiplying the number of hours worked by the pay rate, regardless of the number of hours. A contract employee must not work more than 50 hours per week. At the start of the program, you should prompt for, and supply the Federal Tax rate and the State Tax rate to be used for the hourly and salaried employees. No tax is withheld from the contract employeespay check. If 0 is entered for federal tax rate, use 10% forfederal tax rate. If 0 is entered for state tax rate, use 5% for state tax rate. In addition to the Gross Pay, calculate and display the following information (all amounts should be calculated to 2 places of decimal): Federal Tax State Tax Total Tax Net Pay Page 2 of 4 Create separate methods for the calculation of gross pay, and each of the above amounts. Create three overloaded functions (one each for the Hourly employees, the contract employees, and the salaried employees). The Hourly employee function should receive two values (hours worked and pay rate), the contract employee should receive three values (hours worked, pay rate, and the ID of the company the contract employee is from), and the Salaried employee function should receive one value (yearly salary). Continue to request, calculate and print employee information until there is no more employee data to be processed. Your program must be able to process zero employees, to an infinite number of employees. Demonstrate the use of the following in your solution: ? Function Overloading ? Default arguments ? Two uses of pass-by-reference using reference arguments. As usual, your solution must be separated into, at least, three source files (Interface, Implementation, and Test files). There should only be minimal code in the Test file, just enough to instantiate an object, and invoke the appropriate function(s). Submit your source files to the dropbox no later than the deadline (11:59 pm on Monday, March 28th , 2016). Late submission penalty: 25 points per day. Only .cpp and .h files will be accepted. If you submit other types of files, they will be rejected, and youll receive no points for the project.

Please do this program for C++ Please make sure it works. pleaseread all the criteria and check the grading criteria. please separate theproject into 3 files 1) interface.h 2) implementation.cpp 3) testing.cpp the testing

thanks

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!