Question: Pay.java Write a program that asks the user for their hourly pay and the ts) number of hours worked for a week Determine their gross
Pay.java Write a program that asks the user for their hourly pay and the ts) number of hours worked for a week Determine their gross pay assuming that they make 1.5 overtime pay (i.e. they get overtime, 1.5 times as much per hour for any time worked over 40). Sample output is below from two different runs, with yellow highlights denoting user input. 1 Enter Hourly Salarys 2 Enter Hours Worked: 3 3 You earned $150 1 Enter Hourly Salarys 2 Ent er tours Worked 50 3 Yon earned 3275 CSC 200 Project 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
