While loop printing too many times

Printable View