Please help with my while loop that turned into infinite loop!

Printable View