Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes prefix/postfix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "prefix/postfix" Watch "prefix/postfix" New topic


Steven Alvarez
Ranch Hand

Joined: Nov 01, 2006
Posts: 66
lets say you have:

a b c d / + * f -

And you scan from right to left to solve the problem, is that prefix or postfix?

BTW I know how to solve the problem, just want to know if you scan it right to left, what type of "fix" is it?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46349
What do you think it is?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

This page gives an example of each.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: prefix/postfix
It's not a secret anymore!