Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 709 Bytes

File metadata and controls

10 lines (8 loc) · 709 Bytes

Stack-Based Calculator (RPN)

This is a project with the implementation of the stack-based calculator ("Reverse Polish Notation", see more).

Source

This implementation was made according to the description of the algorithm (RPN) in "Stack, or Round Trip" by author A. Vtornikov (orig. rus "Стек, или Путешествие туда и обратно" А. Вторников).

Usage

      --> input: Expression in infix (normal) form, each symbol separated by space
      --> output: console

Calculator supports 4 usual algebraic operations: SUM, DIFF, MUL, DIV.