Check out example codes for "continue in c++ while or for loop". It will help you in understanding the concepts better.

Code Example 1

for (int i = 0; i < 10; i++) {
  if (i == 4) {    
  	continue; // continue keyword
  }
  cout << i << "\n";
}

Learn ReactJs, React Native from akashmittal.com