how I can evaluate that infix expression in java : ((1)2/4+2-1). I knew that I can use 2 stacks : 1 1st for characters(+-/). 2nd for integers.
then check for priorities of the characters and calculate simultaneously!?
So is there a more perfect way for calculating like that expression?! ..
Thanks,