#include
int main(void)
{
int x, j;
printf("Enter x: ");
scanf("%d", &x);
printf("Enter j: ");
scanf("%d", &j);
/* relational operations */
printf("x < j %d\n", x < j);
printf("x <= j %d\n", x <= j);
printf("x == j %d\n", x == j);
printf("x > j %d\n", x > j);
printf("x >= j %d\n", x >= j);
/* logical operations */
printf("x && j %d\n", x && j);
printf("x || j %d\n", x || j);
printf("!x !j %d %d\n", !x, !j);
return 0;
}