Write C program to perform simple C arithmetic calculations. The user is to enter a simple expression (integer operator integer) such as: 15 + 30
The program is to extract the 2 operands and the operator, perform the indicated calculation and display the result. For example: 15 + 30 = 45
Operators should include +, -, *, /, and %
Operands are positive integers, no sign
*Use getchar to input the expression
Allow for variable spacing before the first operand and between operators and operands (zero, one or more spaces)
Allow the user the option of entering another expression
Code a function for each operator to do the appropriate arithmetic operation (5 functions)
No global variables. No string handling functions. No arrays
Input: Interactive. Allow the user to enter multiple expressions.
Output: Echo the input (both user prompts and user entered data).
Print the whole expression with the result or an appropriate error message
Be sure output data shows all valid and invalid test data and how the program handled it.