Microsoft Interview Question

design a calculator