/* * simple example of conditional execution. */ #include int main(void) { int x, y; printf("enter two integers\n"); if (scanf("%d %d", &x, &y) == 2) { if ((x > 0) && (y > 0)) { printf("both positive\n"); } printf("x, y %d %d\n", x, y); return 0; } else { printf("not numbers\n"); return 1; } }