Pregunta de entrevista de THE VOID

Write pseudo code that basically was a loop with conditional printing based on the iterator.