Computer Science for IGCSE & O level - Programming (Section 13 - No. 43)
In a nested IF-ELSE structure, how are the inner blocks of code related to the outer structure?
The inner block executes independently of the outer block.
The execution of the inner block depends on the condition of the outer block.
The outer block's execution depends on the condition of the inner block.
There is no relation between them.
Explanation
The inner block is only executed if its parent condition is true.
Comments (0)
