Wap to illustrate the use of IF ELSE using Equal to Operator

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

void main()

{
	int m=1;
	clrscr();
	if(m==1)
	{
		printf("delhi");
		if(m==2)
		printf("chennai");
		else
		printf("banglore");
	}
	else;
		printf("end");
	getch();
}

No comments:

Post a Comment