Thursday, May 22, 2008

8. Convert the expression ((A + B) * C – (D – E) ^ (F + G)) to equivalent Prefix and Postfix notations.

Prefix Notation:
^ - * +ABC - DE + FG Postfix Notation:
AB + C * DE - - FG + ^

5 comments:

Eric Wu said...

Your postfix notation does not seem to be correct, the correct one is:
AB + C * DE - FG + ^ -

Eric Wu said...

Your prefix notation does not seem to be correct either, the correct one is believeed to be:
- * + A B C ^ - D E + F G

cleonlim said...

i was waitin' for this type of article and i have gained some useful information from this site. thanks for sharing this information.

www.n8fan.net

Cindy Dy said...

Thank you for this post. Keep it up. Hope to read more post from you guys.

Viena
www.gofastek.com

Leslie Lim said...

Man I love this site. It is just so awesome. Whatever you want, all are available here.

www.imarksweb.org