in computer what does continue mean
Answers
Answered by
1
continue is a statement applied in looping statements like for loop and while loop. it is applied to skip only one execution of the loop and continue for the next execution.
eg:
program to print first five natural numbers excluding 3
for(I=1;I<=5;I++)
{
if(I==3)
continue;
System.out.println(I);
}
eg:
program to print first five natural numbers excluding 3
for(I=1;I<=5;I++)
{
if(I==3)
continue;
System.out.println(I);
}
amal14:
hope it helps
Similar questions
Math,
8 months ago
Hindi,
8 months ago
Biology,
1 year ago
Chemistry,
1 year ago
World Languages,
1 year ago