Beginner, stuck on implementing while loop, compiles fine but still won't run

Printable View