#include<stdio.h>
int main()
{
int a,b,c;
printf("Enter First Number:\n");
scanf("%d",&a);
printf("Enter Second Number:\n");
scanf("%d",&b);
c= a>b? a:b;
printf("\nThe greater number amoung the two is %d\n",c);
return 0;
}
Note: Need to be arranged in compiler after copied
OutPut:
Enter First Number:
10
Enter Second Number:
15
The greater number amoung the two is 15