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) {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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!