Menu

calculator Archive

Simple Calculator in JAVA with switch case

We are going to make a Simple Calculator in JAVA with switch case.This calculator will have four basic arithmetic operations “Addition, Subtraction, Multiplication, and Division“.So, below is the JAVA code for the simple calculator. Code: import java.util.Scanner; class calc { public static void main(String args) { Scanner s=new Scanner(System.in); System.out.println(” Simple Calculator”); System.out.println(“Enter the first
DMCA.com Protection Status