/* A simple C program demonstrating that integers can be used as booleans. */ #include int main() { int x, y; printf("Enter two numbers separated by a space: "); scanf("%i %i", &x, &y); if (x - y) { printf("You entered two different numbers!\n"); } else { printf("You entered the same number!\n"); } }