Retention Science interview question

Write a program to take a mathematical expression and evaluate it with the basic order of operations.