Pergunta de entrevista da empresa Deloitte

Calculation based on data that was given