Concept Flow - Nested if statements
Start
Check if condition1
|Yes
Check if condition2
|Yes
Execute inner if block
Else inner if block
Continue after nested if
Else outer if block
End
First, the outer condition is checked. If true, the inner condition is checked next. Depending on inner condition, different blocks run. If outer condition is false, the else block runs.