0
Solving prefix expression using two stacks
I have to solve a prefix expression use two stacks (one for the operator, and one for the operand). The code is reading the equation and evaluating it wrong and I just can't figure it out. (and YES I have to solve it from left to right). https://code.sololearn.com/c0nvdjIbAQuF/?ref=app
1 Odpowiedź
+ 1
Ah, I see. I fixed it, thanks for letting me know.