Question: WRITE IN JAVA PROGRAM PLEASE! and using if statement. Problem 3 : Write a program that acts as a mini - calculator. The user will

WRITE IN JAVA PROGRAM PLEASE! and using if statement. Problem 3: Write a program that acts as a mini-calculator. The
user will give you two integers followed by an operation (**,,+, or
-). Your program will output the result of performing that
operation on those integers.
For example, if the user enters 3,6, and **, then your program
should output 18 since 3**6=18.(5 marks APP)
CHALLENGE: Try writing a calculator for three numbers and two
operations. This will obviously require you to consider BEDMAS
in your calculations. Note that this will not result in additional
marks... just a challenge for the hungry.
WRITE IN JAVA PROGRAM PLEASE! and using if

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 Programming Questions!