#include
main()
{
int a,b;
clrscr();
printf("Enter First Value:");
scanf("%D",&a);
printf("Enter Second Value:");
scanf("%d",&b);
if(a>b)
{
printf("Greater Value is %d",a);
}
else
{
printf("Greater Value is %d",b);
}
getch();
}
OUTPUT
Enter First Value:4
Enter Second Value:7
Greater Value is : 7
No comments:
Post a Comment