IBM interview question

Talk about for and while loops