question archive 1)Make an algorithm for a program that will obtain from the user an hourly pay rate and the number of hours worked for the week

1)Make an algorithm for a program that will obtain from the user an hourly pay rate and the number of hours worked for the week

Subject:Computer SciencePrice: Bought3

1)Make an algorithm for a program that will obtain from the user an hourly pay rate and the number of hours worked for the week.

The program will then calculate and output their pay according to the following: - Regular pay is the pay up to 40 hours. - Overtime pay is pay for the hours over 40. Overtime is paid at a rate of 1.5 times the hourly pay rate. - Gross pay is the sum of the regular pay and the overtime pay.

Test your algorithm using the following 2 cases: hourly pay rate $10.50, number of hours 20 (pay for the week $210.00) hourly pay rate $10.00, number of hours 45 (pay for the week $475.00) 

Due in 1 hour

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE