+ 2
Guys plz help me correct this cpp code as soon as possible.
A simple calculator. You may suggest a better code.
4 ответов
+ 2
Destroyer The code has a couple of errors but you should ask the user for the operation to be performed as well and in that case you should make use of switch statement.
If you just want to take 2 values and perform all operations and display it, then it would be easy and slight modifications in your code can do that.