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

JAVA source code plz  JAVA source code plz Write a program that asks the user

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!