Well, you can break out of a loop with 'break' or by making your while-statement false. And it's possible to use a while loop inside another, yes.