Menu

[Solved] Help me to write “if statement” in JAVA program (preferred eclipse) giving the tax for 2017 and 2018

Help me to write “if statement” in JAVA program (preferred eclipse) giving the tax for 2017 and 2018. The system should be developed such that when the users type a different year it should display they are putting different year.  Also if the user put negative number should display that negative number not allowed. Work on the system using the 2017 and 2018 tax data in the table below.

2017 Tax Table 2017 Rate 10% 15% Taxable Income Bracket $0 and s$9325 >-s9325 and <537,950 37.950 and $591,900 91,900 and <$191,6 5191,650 and$$416,700 S41 6,700 and 44 18,400 Tax Owed 10% of Taxable Income $932.50 plus 15% of the excess over $9,325 55,226.25 plus 25% of the excess over S37.950 $18,713.75 plus 28% of the excess over $91,900 28% 50 Mm $46,643.75 plu, 33% of the excess over S191.650 in st 21,505.25 plus 39.6% of the excess over S41 8.4001 35% $120,910.25 plus 35% of the excess over S416.700 M39.60%-i-2-s41 8,400, 2018 Tax Rate 2018 Rate Individuals s $9,525 >$9,525 and 0538,700 12% 22% 24% 32%, 35% >38,700 ande-S82.5 >$82,500 and cS1 57,500 .>$157,500 and <-$200,000 >$200,000 and <-S500.000 1

Here is some example for the program:

Expert Answer


Code:

import java.util.Scanner;

public class MyClass {
public static void main(String args[]) {
System.out.println(“Which year do you…

answer image blur

OR


Leave a Reply

Your email address will not be published. Required fields are marked *