Java Program to make a calculator using switch.

Output: