Issue
So for instance.
while(something){
// ...
}
if(somethingElse){
// do something and go back to while loop
}
How do I do this?
Solution
The simplest way doesn't even require a nested loop.
while (something) {
if (something) {
// Code to execute in loop;
} else {
// Doing something and returning to loop again.
}
}
Answered By - ʀᴀʜɪʟ