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

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!