Challenge 2: Making a Calculator
In this exercise, you are required to implement a calculator by using Switch statements.
Problem Statement
Write a code which will take:
-
Two variables named
num1
andnum2
-
a
string
type variable calledOperator
which will be passed as ...