/* File: cascade.c Indentation scheme for cascading if-else. */ #include int main() { int score ; printf("Enter score: ") ; scanf("%d", &score ) ; if (score >= 90) { printf("It's an A!\n") ; } else if (score >= 80) { printf("It's a B.\n") ; } else if (score >= 70) { printf("Man, a C.\n") ; } else if (score >= 60) { printf("He gave me a D!\n") ; } else { printf("FAIL! :(\n") ; } return 0 ; }