Question: Create a class that computes net pay(employee salary deduction and incentives included), the program should accept hourly rate and the number of hours worked(basic pay).
Create a class that computes net pay(employee salary deduction and incentives included), the program should accept hourly rate and the number of hours worked(basic pay). Deduct the withholding tax which is 15% of basic pay, and add bonus is which is 10% of the basic pay. Print the hrs worked, the rate per hour, withholding tax, bonus, and net pay. The output should be at the center of the screen, print your name at the bottom of the output. attach a screenshot of the output and codes.
Language: Java
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
