Accept two integers X and Y as input. The program must print 1 if X is less than Y. Else print 0 as the output.
Example Input/Output 1:
Input:
4 5
Output:
1
Example Input/Output 2:
Input:
5 5
Output:
0
#include <stdio.h>
int main()
{
int X, Y;
scanf("%d %d", &X, &Y);
printf("%d", X < Y);
return 0;
}