NuraTech Labs interview question

write a loop program