Simple Calculator Program with Switch

# Introduction In this lab, you need to create a program that takes two double variables, `number1` and `number2`, and an operator, and performs addition, subtraction, multiplication, or division based on the operator given by the user, printing the result or "invalid operation" if the operator is not recognized.

|
60 : 00

Click the virtual machine below to start practicing