Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

prefix/postfix

 
Steven Alvarez
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 49756
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think it is?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steven,
This page gives an example of each.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic