Microsoft interview question

Implement a calculator with +, * (, and ).