Question: JAVA source code plz Write a program that asks the user how many hours they worked this week and for their hourly pay rate. The
Write a program that asks the user how many hours they worked this week and for their hourly pay rate. The program calculates the total pay, including any bonus for overtime. The algorithm should calculate pay using "time and a half" if you work more than 40 hours. (You can google "time and a half pay" if you are unfamiliar with the concept, but the formulas are shown below in the pseudocode and flowchart.) Pay is calculated as pay = hourly * hours. Bonus is calculated as bonus = (hours- 40)*rate/2, if hours is greater than 40. Every variable should be a double
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
