while loop is not working right

Printable View