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 + ^

3 comments:

Unknown said...

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

Unknown 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

Anonymous 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