2009-02-02, 10:52 AM
This is a classic problem, although the more typical form is to evaluate a numeric expression without any variables.
1. Parse the expression into tokens.
2. Convert from infix to postfix.
3. Evaluate.
Google is your friend if any of those steps confuse you.
1. Parse the expression into tokens.
2. Convert from infix to postfix.
3. Evaluate.
Google is your friend if any of those steps confuse you.

