Indium Software interview question

Basic looping concepts with an example.