Pergunta de entrevista da empresa Capgemini

In pseudocode based on the output questions