Talentica Interview Question

Write a calculator program.