Simple Calculator - Java Programme to create Simple Calculator.

To make a simple calculator in Java programming which performs the basic four mathematical operations i.e., addition, subtraction, multiplication, and division, use the switch case to identify the input operator to perform required calculation and then display the result on the screen as shown in the following program.

Following is a simple Java Program which is a menu-driven program based on simple calculation like addition, subtraction, multiplication and division according to user's choice:

Programme :

Output :
You have following choces : 
1. Addition
2. Subtraction
3. Multiplication
4. Division
Result = 5

Follow me on: