#include /* example of relational operators */ int main() { int i = -1, j = 5; printf("i is %d, j is %d\n", i, j); if (i < j && i < 0) { printf("i is a negative number less than j\n"); } if (i < j && i > 0) { printf("i is a positive number less than j\n"); } if (i > j && i > 10000) { printf("i is greater than j and larger than 10000\n"); } if (i == j && i != j) { printf("i is both equal to j and not equal to j. Something is Very Wrong\n"); } if (i == j || i != j) { printf("i is equal to j or not equal to j\n"); } }