Basic Calculator using if-else in C programming

0
16
programming solution

 Question: 

Write a program that prompts the user to enter two values with a operator and display the total result like output sample.

 Output Sample:   

InputOutput
15 5 +
15 + 5
15 - 5
15 * 5
15 / 5
Invalid Input!
Total: 20
Total: 10
Total: 75
Total: 3

 Source Code: 

 List of C Exercises: 

LEAVE A REPLY

Please enter your comment!
Please enter your name here