why is my while loop terminating?

Printable View