6. Infix Notation
To add A, B, we write
A+B
To multiply A, B, we write
A*B
The operators ('+' and '*') go in
between the operands ('A' and 'B')
This is "Infix" notation.
7. Prefix Notation
Instead of saying "A plus B", we could
say "add A,B " and write
+ A B
"Multiply A,B" would be written
* A B
This is Prefix notation.
14. Why all this
At our level, we cannot evaluate an
infix expression, but we can turn an
infix evaluation into a prefix or
postfix expression and then evaluate
them.
15. What we did
We took infix expression and turned
them into postfix expression.