Question: need help in this java program public static void main(String[] args) { Scanner input= new Scanner(System.in); System.out.println( Arithmetic Operation); System.out.println(Enter two Numbers:); int a=input.nextInt(); int
need help in this java program
public static void main(String[] args) { Scanner input= new Scanner(System.in); System.out.println(" Arithmetic Operation"); System.out.println("Enter two Numbers:"); int a=input.nextInt(); int b= input.nextInt(); System.out.println("Enter your preference: "); System.out.println("1. Add 2. Subtract, 3. Multiply, 4. Divide, 5. quit."); 1/Complete the code to perform an arithmetic operation until the user wants to quit. 1/implement the logic to perform the above mentioned operations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
