; Sample script for RPN Calculator project. ; ; Enter some operands: enter 17 enter 42 enter -3 ; Multiply the last two operands: enter * ; Check the last computed value: display value ; Check the calculator stack: display stack ; Add that to the first operand: enter + ; Check the value and stack again: display value display stack ; Clear the calculator and check: clear display value display stack ; Try an illegal operation: enter + ; Load another operand and try an operation: enter 100 enter / display value display stack ; Try an illegal operation: enter 0 enter / ; Quit: exit