119k views
10 votes
The __________ statement allows you to check for

multiple test expressions and execute different codes
for more than two conditions.​

1 Answer

8 votes

Answer:

B) nested if...else

Step-by-step explanation:

In Computer programming, there are four (4) main types of statements used in the decision-making process and these are;

I. If statement.

II. If....else statement.

III. Else.....if statement.

IV. Nested if...else statement.

The nested if...else statement allows you to check for multiple test expressions and execute different codes for more than two conditions. It uses the other three (3) statements in its decision-making process.

However, only the first test expression would be executed when it is true and then the program is terminated. Otherwise, the program would continue to run until it gets to the breaking point (else statement) and then terminates.

User Thalita
by
5.5k points