[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. 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…
OR