#include<stdio.h>
#include<conio.h>
void main()
{
int num1,num2,l;
clrscr();
printf("\n enter two numbers \n");
scanf("%d%d",&num1,&num2);
if(num1==num2)
printf("\n numbers are equal");
else
if(num1>num2)
l=num1;
else
l=num2;
printf("larger is=%d",l);
getch();
}
#include<conio.h>
void main()
{
int num1,num2,l;
clrscr();
printf("\n enter two numbers \n");
scanf("%d%d",&num1,&num2);
if(num1==num2)
printf("\n numbers are equal");
else
if(num1>num2)
l=num1;
else
l=num2;
printf("larger is=%d",l);
getch();
}
No comments:
Post a Comment