Concept Flow - Else–if ladder
Start
Check if condition1
|Yes
Execute block1
End
No
Check if condition2
|Yes
Execute block2
End
No
Check if condition3
|Yes
Execute block3
End
No
Execute else block
End
The program checks conditions one by one from top to bottom. When a condition is true, it runs that block and skips the rest. If none are true, it runs the else block.