I am a beginner in C++, would someone mind helping me with this?. Thank You
Write a C++ application to compute the week's paycheck for an hourly
employee. If the employee works more than 40 hours, the company is
required to pay "time-and-a-half".
Write your application to interactively accept the following data:
1. The time worked during the week. This must be input as the
number of hours and minutes worked.
2. The hourly wage to a tenth of a cent. For example, the value
10.799 means 10 dollars, 79 and 9/10 cents per hour.
3. The name of the employee.
The output of your program will be the pay earned by the
employee. The computed paycheck should be displayed as
rounded to the nearest cent.
Test cases
-----------
Screenshot(s) showing your solution tested with the following cases,
1. Employee: Paul Volker
Time worked: 39 hours, 30 minutes
Hourly wage: $10.799
The computed pay is: $426.56
2. Employee: Alan Greenspan
Time worked: 45 hours, 0 minutes
Hourly wage: $10.000