Vinformax interview question

Looping concepts and basic codes