I am looking to create a program in java that calculates pay.
Rate of pay per hour?
I was thinking about creating 3 methods something like computeNetPay() method.
The computeNetPay receives the values for hours, pay rate and withholding rate.
It would then compute the gross pay and reduces it by the appropriate withholding amount to produce net pay.
To calculate gross is putting hours worked times pay per hour)
I want to use computerNetPay() to receive two parameters, they represent the hours and pay rate, and the withholding rate.
I can assume for this program that it is 15%
Hourly rate is assumed to be 5.85