Computer Science

Need your ASSIGNMENT done? Use our essay writing service to score better and meet your deadline.

Order a Similar Paper Order a Different Paper

 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