I made a calculator in c++ and it is doing all which I expected but now I want to modify it and it is only working on two | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I made a calculator in c++ and it is doing all which I expected but now I want to modify it and it is only working on two

Oprands example 12+23 now I want to give 12+43-43*6/2 this kinda input how I can do that any one help me in this please

18th Nov 2020, 1:24 PM
Hussain Ali
Hussain Ali - avatar
1 Answer
+ 4
Take input as a string and then scan it to get the proper expression.
18th Nov 2020, 1:28 PM
Arsenic
Arsenic - avatar