how I can define a method netsalary in Java that takes a single argument salary of type double and calculate the net salary of each employee after the deduction of CPF. Assuming that the CPF rate is 20%. The method should display the net salary of the employee.
How I can define a method netsalary in Java ?
Try learning to program in Java - it will really help!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment