Question
Design a program to displays an employees weekly net pay. The user will enter the employees pay rate and hours worked. The program will first
Design a program to displays an employees weekly net pay. The user will enter the employees pay rate and hours worked. The program will first calculate the weekly gross pay. Please note that the employee might have worked overtime. You can assume that overtime is calculated using time and a half and that a normal work week is 40 hours. From the gross pay, the program will then need to subtract the appropriate taxes: FWT, FICA and state. For testing and design purposes, you can use 20% as the FWT tax rate for Federal Withholding Tax, 8% as the FICA tax rate for the Social Security and Medicare taxes, and 4% for the state taxes. This program will loop so that the user can calculate as many weekly net pay amounts as they would like. You will decide how to break down this problem into modules to make it easier to solve.
Please use java language and methods in answer.
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