Download C Programming Lab 4: Simple Calculator Implementation and more Exercises Introduction to Software Engineering in PDF only on Docsity!
C Programming
Lab 4
Write a C program that will implement a simple calculator.
Take the operation type from the user. Availabe operations are: a. Addition (+) b. Subtraction (-) c. Multiplication (*) d. Division (/) User will type +, - , * or / to select the operation.
Take operands from the user
Calculate and print the result. An example screen is shown below.