Question: findSalary Will compute and return salary based on hours, rate of pay, and overtime rate. Anything over 40 hours will be considered overtime. The method

findSalary

Will compute and return salary based on hours, rate of pay, and overtime rate. Anything over 40 hours will be considered overtime. The method receives as input from the caller hours worked, rate of pay and overtime rate. It will then compute salary and returns it to the caller. NOTE: This method will not be interacting with the user.

i'm having trouble writing the method for this, I should be able to call this method from my mainclass. This is using java (Eclipse)

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!