Pregunta de entrevista de Universal Instruments

A basic programming question regarding the use of loops, and modulo.