SyntaxFix
Write A Post
Hire A Developer
Questions
It can also be done using a single line with while loops and if like this:
while
if
if (blah) doThis();
It also works with while loops.