Question: How to make calculator in java By inputting 2 integer that separated by an operator (+, -, * or /) Example: Enter two numbers separated
How to make calculator in java
By inputting 2 integer that separated by an operator (+, -, * or /)
Example:
Enter two numbers separated by an operator : 34 + 12
34 + 12 = 46
Enter two numbers separated by an operator : 34 - 12
34 - 12 = 22
Enter two numbers separated by an operator : 34 * 12
34 * 12 = 408
Enter two numbers separated by an operator : 34 / 12
34 / 12 = 2.83
Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
