I have Nested do-while, while, and for loops.
Is there a way to decide which loop to "continue" to? A variety of solutions would be great (not only goto..) Thank you!
while (foo==true) // loop1
{
do
{
for(int i=0; i<someNumber ; i++) // loop3
{
if( soo==1)
{
<CONTINUE_TO_LOOP1>
}
else if( soo==2 )
{
<CONTINUE_TO_LOOP2>
}
else if( soo==3 )
{
<CONTINUE_TO_LOOP3>
}
}
} while (moo==true) //loop2
}