Challenge: Making a Calculator
Explore writing PHP code that takes two numbers and an operator, then uses switch statements to perform addition, subtraction, multiplication, or division. Understand how to handle default cases while building a functional calculator.
We'll cover the following...
We'll cover the following...
Problem Statement
Write a code which will take: