Question: write a java program to compute a worker salary according to the following rules: A labor contractor pays the workers at the end of each

write a java program to compute a worker salary according to the following rules: A labor contractor pays the workers at the end of each week according to the rules given below:
For the first 35 hours of work, the rate of pay is $15 per hour; for the next 25 hours, the rate of pay is $18 per hour; for the rest, the rate of pay is $26 per hour. No worker is allowed to work for more than 80 hours in a week

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 Programming Questions!