/* Relate.c */
#include<stdio.h>

main()
{
 int i = 2;
 int j = 3;
 int true_false;

 printf("%d\n", (i == 2)); /* displays a 1 (true) */
 printf("%d\n", (i == 1)); /* displays a 0 (false) */
 printf("%d\n", (j > i));  
 printf("%d\n", (j < i));  /* Can you predict the */
 printf("%d\n", (j <= 3)); /* output of the rest of */
 printf("%d\n", (j >= i)); /* these statements? */
 printf("%d\n", (j != i));

 true_false = (j < 4); /* The result can be stored to an integer */
 printf("%d\n", true_false);

 return 0;
}
