Pregunta de entrevista de AIG

How would you build a four function calculator (via programming)