The conditional body refers to the block of code that is executed if the condition in an if statement evaluates to true. It contains the specific actions or instructions that are carried out when the condition is met.
Related terms
Condition: A condition is a logical expression that determines whether the code inside the conditional body will be executed or not.
If-else Statement: An if-else statement allows you to specify alternative sets of instructions based on whether a particular condition is true or false.
Nesting: Nesting refers to placing one if statement inside another if statement. It allows for more complex conditions and multiple levels of decision-making.