Question: Using Python: A1) Overtime Pay. Federal law requires that hourly employees be paid time-and-a-half for work in excess of 40 hours in a week. For
Using Python:
A1) Overtime Pay. Federal law requires that hourly employees be paid "time-and-a-half" for work in excess of 40 hours in a week. For example, if a person's hourly wage is \$12 and he or she works 60 hours in a week, the person's gross pay should be (40*12) + (1.5*12*(60-40)) = \$840. Write a program that requests the numbers if hours a person works in a given week and person's hourly wage as input, and then displays the person's gross pay.
For example:
Enter hourly wage: 12.50
Enter number of hours worked: 47
Gross pay for a week is: \$631.25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
