+ 1
Did i do this right because i can't seem to get an output?
Trying to make a simple calculator with C++ https://code.sololearn.com/ccpxHZjOTaLd/?ref=app
6 Respuestas
+ 4
It works fine for me.
Example Input (on SoloLearn)
+
13 12
Example Output:
Enter operator, either + or - or * or /:
Enter operand:
25
+ 3
Your code is working. If you are testing on SL platform, when prompted input for example operator space operand space operand submit (+ 3 5)
+ 3
Thanks for you help guys
+ 2
It seems to work okay for me 🤔
Are you splitting all inputs on different lines when entering them into the prompt?
+ 2
How do I separate inputs on different lines?
+ 2
hit enter