Question: Kindly Program It only Using C language. Q2) [20 Marks] [CLO9-PLO5) Write a simple calculator which can perform four basic math operations, i.e addition, subtraction,
Kindly Program It only Using C language.
Q2) [20 Marks] [CLO9-PLO5) Write a simple calculator which can perform four basic math operations, i.e addition, subtraction, multiplication and division. You will create two .c files namely: main.c and functions.c main.c will contain the main function and call each of the four functions based on user input. functions.c will contain all four functions. Put all the functions of function.c in a static library called libmymathlib.a and link it with main.c Sample run of the program is as follows: $./mycalc.exe Please enter +, -, *,/or Q to quit : + Please enter two numbers that you want to add : 25 35 Result : 60 Please enter +, -, *,/or Q to quit : Q Thanks for using myclac 9 which will build the al bi 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
