; CS 2704 Spring 2002 Homework 3 ; ; Enter the components of an RPN expression: ; enter 6 enter 1 enter 2 enter 4 enter 8 ; Display the operand stack: display stack enter / enter + enter + enter * ; Display the value of the expression: display value ; Clear the calculator: clear ; Enter the components of an RPN expression: ; enter 1 enter 2 enter 3 enter 4 enter 5 enter 6 enter 7 ; Display the operand stack: display stack enter + enter + enter + enter + enter + enter + enter + ; Clear the calculator: clear ; Enter the components of an RPN expression: ; enter 5 enter -4 enter 3 enter -2 enter 1 ; Display the operand stack: display stack enter * enter * enter * enter * ; Display the value of the expression: display value ; Clear the calculator: clear ; Enter the components of an RPN expression: ; enter 8 enter 12 ; Display the operand stack: display stack enter * enter 4 enter / enter 2 enter 2 enter * enter 4 enter - enter / ; Clear the calculator: clear ; Quit: exit