If/else if/else are examples of

IterationSequencingSelection

1 answer

If/else if/else statements are examples of selection. They allow a program to choose between different paths of execution based on whether certain conditions are true or false. In contrast, iteration refers to looping through a sequence of instructions, and sequencing refers to the straightforward execution of statements in the order they appear.