Task 01

Basic Calculator

Create a function that takes two numbers and performs basic arithemetic operations [ Additon, Subtraction, Multiplication and Division ] based on the operation selected.

Requirements:

function naem: Calculator

parameters: num1 and num2

operation could be 'add', 'subtract', 'multiply', 'divide'

output: the result of the selected operation