SAP Interview Question

Q. Write code/pseudo code to evaluate postfix notation equation