Ericsson Interview Question

Programming a calculator using the stack