3 4 +
7
1. Initialize a stack of double numbers.
2. do
if (the next input is a number)
Read the next input and push it onto the stack.
else {
Read the next character, which is an operation symbol.
Pop two numbers off the stack.
Combine the two numbers with the operation (using the second number
popped as the left operand) and push the result onto the stack.
}
while (there is more of the expression to read);
3. At this point, the stack contains one number, which is the value of the expression.