/********************************/ /* CPE 101 Alex Dekhtyar*/ /* */ /*Simple If statement */ /* */ /********************************/ #include int main() { int x, y; scanf("%d%d", &x, &y); /* read two ints */ /* first comparison */ if (x > y) { printf("x is greater than y\n"); } else { printf("y is greater than or equal to x\n"); } /* second comparison */ if (x == y) { printf("x and y are equal\n"); } else { printf("x and y are different\n"); } return 0; }