while loop is looping twice

Printable View