Write this code in java
**write comments on each line to explain the code
Thank you
Write a program to Calculate the federal tax, state tax and the net salary for each employee. First, ask how many employees there are in that company. Then, ask for the name, salary, marital status, and the state employee lives in. To calculate the federal tax, use the following criteria:
If your status is Single and if the taxable income is over but not over the tax is of the amount over $0 $8,000 10% $0 $8,000 $32,000 $800 + 15% $8,000 $32,000 $4,400 + 25% $32,000 If your status is Married and if the taxable income is over but not over the tax is of the amount over $0 $16,000 10% $0 $16,000 $64,000 $1,600 + 15% $16,000 $8,800 + $64,000 $64,000 25%
Write this code in java **write comments on each line to explain the code Thank you
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am