Pergunta de entrevista da empresa Capgemini

How would you build a calculator?