WAP to illustrate continue & break statement


#include<stdio.h>
#include<conio.h>

void main()

{
	int x=5,y=7,z=8;
	clrscr();
	for(;50<100;x++,y++)
	{
		while(y>=x)
		{
			printf("/n%d%d%d",x,y,++z);
			y--;
			break;
		}
		if(x==5)
			break;
		else
			continue;
	}
	getch();
}

No comments:

Post a Comment