Results 1 to 2 of 2

Thread: Postfix/Prefix

Threaded View

  1. #1

    Thread Starter
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Location
    Boulder, Colorado
    Posts
    1,403

    Postfix/Prefix

    heeelp.
    I've got a test tomorrow on binary / expression trees, and I understand it all except this whole concept of writing expressions in prefix/postfix/infix. My teacher worked through changing the expression a term at a time, but I always seem to get stuck near the end...
    Code:
    6 + (5 + 1) * (3 - 2) ^ 2
    How would I express this in pre/post fix?
    Last edited by sunburnt; Mar 24th, 2003 at 08:41 PM.
    Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width