Hello!
I am converting an infix expression string into a postfix so that I
will be able to evaluate it easier ->
(5*(((9+8)*(4*6))+7)) == 598+46**7+*
I believe the rule is "Replace all occurances of two operands followed
by an operator by their infix equivalent"
This works fine like so ->
(2*2) == (22*)
but what happens if I need something bigger then 9?
(10*2) == (102*) ->
which would multiple the 0 and the 2 instead of 10*2...
Am I making any sense? Please help me.
Thanks.