Answers for "how to skip a value in a for loop c"

C
0

for loop continue c

a = 0;
do {

  if( a == 15) {
    /* skip the iteration */
    a = a + 1;
    continue;
  }

  printf("value of a: %d\n", a);
  a++;

} while( a < 20 );
Posted by: Guest on September-21-2020

Code answers related to "C"

Browse Popular Code Answers by Language