Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 payStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started