Sep 26, 2007 13:51
The following are examples of notation and grammar commonly used in computers and calculators for various reasons.
INFIX
3 + 4
PREFIX
+ 3 4
POSTFIX
3 4 +
EXFIX
+ 3 4 +
For the bonus, translate the follow infix notated expression into prefix, postfix, and exfix!
0 + 1 @ 2 - 3 + 4 / 5 * 6 - 7 & 8 @ 9
Comments will be screened.
bonus,
math
Leave a comment
Comments 1
Reply
Leave a comment