Pergunta de entrevista da empresa Microsoft

Simulate an calculator by your code without using eval()