Why doesnt my code wait for input?

Printable View