Write a console application for the following. · Scenario: Complete the following C++…
- User
Write a console application for the following.
*· Scenario:
Complete the following C++ program by including the definition for the function named weeklyPay that returns weekly pay.
The function has the formal parameter hours to pass the value of the number of hours worked in a week and the formal, parameter rate to pass the value of the hourly rate, the name should be passed as a third parameter, the fourth parameter of type (int, where 1=”full-time”, 2=”part-time”).
Additional specifications
*Output a dollar sign in from to each weekly pay
*Set precision to 2 decimal places
*Assume 12% FIT rate where hourly rate is less than $15, and 15% otherwise (FIT applies to taxable income) //Unit 5 Point of Clarification below
*Assume full 6.2% Social Security rate
*Assume 1.45% Medicare Rate
*If and only if a full time employee, Assume $17.00 for dental (pre-tax) //See Unit 5 Point of Clarification below
*If and only if a full time employee, Assume $77.00 employee (pre-tax) contribution toward retirement //Unit 5 Point of Clarification below
*Assume overtime pay a 2 times time's regular rate beyond 40 clockedHours for fulltime employees only
*Output to the screen the employees name IN-ALL-CAPS using the appropriate Java built-in function, weekly pay in $, and whether or not he/she is a full time or parttime employee.
*Highlight the employee’s name in color, and leave the rest of the text in black/white. (IDE Permitting)
- Assistant