Both your version and my version of the "while" loop were the same, in that the argument evaluated to "true." My version was just more practical/concise.
You're doing fine. Happy coding!
Type: Posts; User: Matticus
Both your version and my version of the "while" loop were the same, in that the argument evaluated to "true." My version was just more practical/concise.
You're doing fine. Happy coding!
I hope this doesn't fall into the category of "rambling on about the standards and making your code look pretty," but -
int x = LOOPNUM; //I had to assign something to x, so that my loop would...