Computer Science for IGCSE & O level - Programming (Section 14 - No. 17)
What is the primary purpose of nesting selection statements (e.g., an IF statement inside another IF statement)?
To make code less readable.
To simplify complex logic.
To enable the implementation of complex conditional logic.
To always improve performance.
Explanation
Nesting allows more complex conditional logic to be implemented in the code.
Comments (0)
