Question: 9. (20 points) Write a C-program that creates a calculator which can do addition, subtraction, multiplication, division and square. The user will have 6 options

9. (20 points) Write a C-program that creates a calculator which can do addition, subtraction, multiplication, division and square. The user will have 6 options to give input for the choice of the task: 1 for the addition 2 for the subtraction 3 for the multiplication 4 for the division 5 for the square 6 for the exit The program will run in a while/for loop which exits with the input6 [Inside each task, you can ask for inputs of two numbers for the operation. For square, you can just ask for 1 input number]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
