While loop makes program crash

Printable View