Write a C++ application called calcPay for a financial company. The goal of this
ID: 3765516 • Letter: W
Question
Write a C++ application called calcPay for a financial company. The goal of this program is to determine weekly gross pay based on an hourly rate and the number of hours worked in a month. Anyone working over 40 hours a week earns time-and-a-half. Show code and screenshots that it works.
The application would be based on the following concepts:
Prompt to enter the employee’s rate of pay
Prompt to enter how many weeks are in the current month (4 weeks or 5 weeks)
Prompt to enter the hours worked for the month (aka week)
Loop week1 < current month then
Calculate the pay for this week
Hours > 40 is time and a half
Loop week2 < current month then
Calculate the pay for this week
Hours > 40 is time and a half
Continue to prompt for hours worked and calculate the pay
When week = current month (or countdown to 0)
Add all the pay for the month together
Display total gross pay for the month