Write C++ program to create simple calculator using switch Statement
belongs to collection: Switch case C++ programs with an examples
All Answers
total answers (1)
belongs to collection: Switch case C++ programs with an examples
total answers (1)
I have used CodeBlocks compiler for debugging purpose. But you can use any C++ programming language compiler as per your availability.
Result:
Enter an operator (+, -, *,): *
Enter two operands: 10
50
10 * 50 = 500
need an explanation for this answer? contact us directly to get an explanation for this answer