/* greaterThan.c Author: Murray Saul Date: January 20, 2008 Purpose: To demonstrate Compound relation operators involving && (and) */ #include main() { int x = 4, y = 67, number; printf ("Please enter an integer: "); scanf("%d", &number); if ( number >= x && number >= y) printf ("Your number is greater or equal to x and y.\n\n"); else printf ("Your number is not greater or equal to BOTH x and y.\n\n"); } /* end of main program */