Join Examsbook
Answer : 2. "nested statement"
What is it called when more than one if-statement is used together?
5Q:
What is it called when more than one if-statement is used together?
- 1if-else statementfalse
- 2nested statementtrue
- 3more if statementsfalse
- 4None of the abovefalse
- Show Answer
- Workspace
Answer : 2. "nested statement"
Explanation :
Certainly! A nested if statement refers to an if statement that is placed inside another if statement or other control structures. It allows for more specific conditions and complex decision-making in a program. The inner if statement is only executed if the outer if statement's condition is true.