(Prefix - Infix - Postfix) Notations
- are three different but equivalent ways of writing expressions
Examples
|
Semantics |
Prefix Notation |
Infix Notation |
Postfix Notation |
|---|---|---|---|
|
multiply A and B, divide C by D, add the results |
|
|
|
|
add A and B, Subtract C by D, add the results |
|
|
|