For school project we have to solve mathematical expressions (with big integers) in postfix notation (in number systems from 2 to 16), but since I never worked with this notation I am a little confused as how to do it.
The instructions state that the program has to read on standard input like this:
where expression is like z x * y + z x y + + +
I stopped at the last part, where I read the expression and have to parse it. I have no idea how to do it the correct way. I still have to write methods for +,-,* and / for this project but until I figure out the basics I cant even start. Any input about this problem is greatly appreciated. I have seen some people using stack. How does stack help here? Thanks!