Quote Originally Posted by Manco Capac
Nothing appears to be wrong with that code in your first post apart from the booleans need to be initialised.
There is. He wants loops, but his while loops don't do anything, because they end in a semicolon. His code IS, both syntactically, and semantically, correct, yes, but I very much doubt that was what he wanted (while loops that do nothing), at least from what he explained.