Concept Flow - Else–if ladder
Start
Check Condition 1
|Yes
Execute Block 1
End
No
Check Condition 2
|Yes
Execute Block 2
End
No
Check Condition 3
|Yes
Execute Block 3
End
No
Execute Else Block
End
The else-if ladder checks conditions one by one from top to bottom. When a condition is true, its block runs and the rest are skipped. If none match, the else block runs.