Computer Science for IGCSE & O level - Programming (Section 16 - No. 5)
In the provided example of an IF-ELSE statement nested within another IF-ELSE, what's the relationship between the outer and inner blocks?
The inner block executes independently.
The inner block is executed based on the condition of the outer block.
The outer block is executed based on the condition of the inner block.
There is no relationship between the blocks.
Explanation
The execution of the inner code blocks depends upon the condition of the outer one.
Comments (0)
