Exercise#2:
Using a switch statement, write a program to create a simple calculator for addition, subtraction,
multiplication and division. The program asks the user to enter two numbers and to select an operator. The
program then performs the requested operation on the two numbers.
Sample input / output:
Please enter two numbers: 9 12
Please enter an operation (+, -, * or /): *
9 * 12 = 108
Process returned 0 (0x0) execution time : 14.949 s
Press any key to continue.
Please enter two numbers: 7 13
Please enter an operation (+, -, * or /): +
7 + 13 = 20
Process returned 0 (0x0) execution time : 10.547 s
Press any key to continue.