So I have been racking my brains all day today trying to make a method which takes a String of infix and returns it's postfix form, yet I'm always taking one step forward and two back haha.
If someone else has accomplished this, can you post it or link me to where there it can be found online?
Essentially, I want the output to be in the form of
Original: ((12-4-5)*^3*^154*(12+^3)/55+13*5) Postfix: 12 4 - 5 - 3 ^ * 154 ^ * 12 3 ^ + * 55 / 13 5 * +
I'm eternally grateful to whoever can help me out with this headache. ^^


Sign In
Create Account

Back to top









