Deloitte interview question

Looping questions using any programming language