Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started