// Demonstration of nested if statements // // Written by: Angela Finlayson // Date: 14/09/2024 #include int main(void) { int x; printf("Enter an integer: "); scanf("%d", &x); if (x > 0) { if (x > 100) { printf("big"); } else { printf("small"); } printf(" positive"); } else { printf("Not a positive"); } printf(" number\n"); return 0; }