logo

Crowdly

The continue statement must be associated with a loop. When encountered, progra...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

The continue statement must be associated

with a loop. When encountered, program control jumps to the end of the loop

iteration, disregarding the rest of the loop body. For instance, let’s suppose

you want to

exclude

printing all multiples of 19 between two given

numbers n1 and n2. Shown below is an excerpt. Please write the entire C

program.

for (i=n1; i<=n2; ++i) { 

   if (i % 19 == 0)

continue;  /* the remainder of the loop body is skipped */

printf("%d\n", i);

}

More questions like this

Want instant access to all verified answers on dle.plaksha.edu.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!