Challenge: Design a Calculator
Test your problem-solving skills in this difficult challenge.
We'll cover the following...
We'll cover the following...
Problem statement
The aim of this challenge is to design a calculator that takes operands in its input and performs one of the following operations on them:
- Addition
 - Subtraction
 - Multiplication
 - Division
 
test function
You have to write a function test that takes two values of type double and one value of type char in its input parameters.
- 
number1andnumber2take the values of the operands. - 
operatecan take , ...