Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started