Pergunta de entrevista da empresa Jupiter Money

Case study was given to solve