While loop won't allow variable to change

Printable View