Pergunta de entrevista da empresa Cybercom Creation

Asked me about for loop pattern question