Pergunta de entrevista da empresa Progress

To do a coding based on arrays and strings