Java Program to make a calculator using a switch case.

Output: