do while loop, variable can't be found

Printable View