program to use continue statement in c language
#include<stdio.h>
int main()
{
int n;
for(n=1; n<=5; n++)
{
if(n==3)
continue;
printf("Number=%d\n",n);
}
printf("out of for loop\n");
return 0;
}
output
Number=1
Number=2
Number=4
Number=5
out of for loop