while

This tests the condition at the top.


while (inumber < 5) 
{
   inumber++;
   break;
}



Continue

The continue statement transfers execution to the next iteration within the loop

while (inumber < 5) 
{
   if (true) {
      continue;
   }
}




© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext