While loop does not function properly

Printable View