C program that asks the user an arithmetic operator (‘+’, ‘-‘, ‘*’, or ‘/’ ) and two operands and perform the appropriate arithmetic operation on the operands

C program that asks the user an arithmetic operator (‘+’, ‘-‘, ‘*’, or ‘/’ ) and two operands and perform the appropriate arithmetic operation on the operands


Input:

Enter the input like + 25 45 to add 25 & 45:

+ 25 45

Output:


The sum of 25 & 45 is 70


Implementation: