Conditional, If...Then, overtime payroll

This assignment tests your ability to write programs using If...Then statements. Begin by carefully studying our notes on If...Then statements and If...Then...Else statements.

The standard work week is 40 hours. When someone works more than 40 hours in a week, they often earn 1.5 times their regular hourly pay rate. For example, if I make $10 per hour and work 50 hours, my gross pay would be $550. Write a payroll program that pays 1.5 times the usual rate for overtime hours.

You might find it helpful to make a flowchart of the program before writing it.

Turn in a screen shot of the program executing and its listings. (Show the result for someone who works 50 hours and makes $12 per hour).