Question: plz view the photo Q2. Write an algorithm that takes input from the user an hourly pay rate and the number of hours worked for

plz view the photo
Q2. Write an algorithm that takes input from the user an hourly pay rate and the number of hours worked for the week. Calculate and display their weekly pay according to the following: Regular pay is the pay up to 40 hours.Overtime pay is paid for the hours over 40. Overtime is paid at a rate of 1.5 times the hourly rate. Gross pay is the sum of the regular pay and the overtime pay
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
