I could not understand which While loop you are talking about and what variable condition always gets into while loop.