Tag Archive

Artifact J-2: Java RPN Calculator (Command Prompt)

Published on August 8, 2009 By chris

Description A simple command prompt calculator that uses Reverse Polish Notation. In Reverse Polish Notation the operators follow their operands; for instance, to add three and four, one would write “3 4 +” rather than “3 + 4″. If there are multiple operations, the operator is given immediately after its second operand; so the expression [...]

  • Share/Bookmark