Hi guys, my name is rhaii and im from the philippines.
Our teacher Gave us these problems in our java class for our Lab activity.:eek:
Im really new with Java and im having a hard time solving them.
Create a class named Pay that includes five double variables that hold hours worked, rate of pay per hour, withholding rate, gross pay, and net pay. Create three overloaded computeNetPay ( ) methods. When computeNetPay ( ) receives values for hours, pay rate, and withholding rate, it computes the gross pay and reduces it by the appropriate withholding amount to produce the net pay. When computeNetPay ( ) receives two arguments, they represents the hours and pay rate, and the withholding rate is assumed to be 10%. When computeNetPay ( ) receives one argument, it represents the number of hours worked, the withholding rate is assumed to be 10%, and the hourly rate is assumed to be 5.65. Name the program as Pay.java.
Guys i really really tried hard to sovle these problems. But to no avail
This is my last resort. I need my grades Its really bothering me. :mad:
-help me pls