Wap to illustratr IF ELSE using Relational Operator

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

void main()
{
	int a=10,b=5;
	clrscr();
	if(a>b)
		{
		 if(b>5)
		 printf("%d",b);
		}
	else
		printf("%d",a);
	getch();
}

No comments:

Post a Comment