William D McQuain CS 2604 RPN Calculator ------------------------------------------- Command: enter 3 ------------------------------------------- Command: enter -2 ------------------------------------------- Command: enter * ------------------------------------------- Command: enter 4 ------------------------------------------- Command: enter 3 ------------------------------------------- Command: enter 7 ------------------------------------------- Command: accumulator -6 ------------------------------------------- Command: store 5 ------------------------------------------- Command: enter + ------------------------------------------- Command: stack 0: 10 1: 4 2: -6 ------------------------------------------- Command: enter - ------------------------------------------- Command: stack 0: -6 1: -6 ------------------------------------------- Command: enter + ------------------------------------------- Command: accumulator -12 ------------------------------------------- Command: stack 0: -12 ------------------------------------------- Command: exit -------------------------------------------