Pergunta de entrevista da empresa FDM Group

Scenarios whereby if/else statement is needed.