Write a program that calculates and prints one week’s pay for an individual. Assume the person only works Monday through Friday. The person’s base pay is $12.50 per hour. The person makes time and a half for all hours over eight in a single day and an additional weekly bonus of $5.00 per hour for every hour worked over 40 hours in a week. The program should ask the user to enter the number of hours worked each day and print the total pay for the week.
Sample Input/Output: [Input in red italics; Output in blue]
Example 1:
How many hours did you work on Monday: 8 [Enter]
How many hours did you work on Tuesday: 8 [Enter]
How many hours did you work on Wednesday: 8 [Enter]
How many hours did you work on Thursday: 8 [Enter]
How many hours did you work on Friday: 8 [Enter]
The total pay for the week is: $500.00
Example 2:
How many hours did you work on Monday: 8 [Enter]
How many hours did you work on Tuesday: 10 [Enter]
How many hours did you work on Wednesday: 7 [Enter]
How many hours did you work on Thursday: 12 [Enter]
How many hours did you work on Friday: 9 [Enter]
The total pay for the week is: $648.75
You need to show what you have done so far and where you are having problems. Unfortunately we can't advise if you haven't made a start beyond directing you to tutorials on C++.