Today's Bonus!

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

moloch September 27 2007, 01:19:18 UTC
exfix is not commonly used. In fact, good luck finding examples of it with google.

Reply


Leave a comment

Up