int main() { if (a > b) { printf("A is greater"); } else if (a == b) { printf("A and B are equal"); } else { printf("A is less than B"); } }