You need to write a program that uses if else statementsno


You need to write a program that uses if else statements(No switch) that declares 2 numbers as variables. The program will then ask the user to input a value, which will then be assigned to the first number. Then the program will request for the 2nd value, which will be assigned to the 2nd number.

Next, the program will ask the user to input an operation symbol, +, -, *, or /. Depending on the symbol the user inputs, the corresponding operation will then be carried out on the two numbers. Then we print out the result of the computation.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: You need to write a program that uses if else statementsno
Reference No:- TGS02876045

Expected delivery within 24 Hours