Microsoft Interview Question

How will you implement a simple calculator