the ___________
statements caused the program control to be transferred to a specific location depending upon the outcome of the conditional expression
Answers
Answer:
interative statement...
Explanation:
hope it will help u
Answer: Selection statements
Concept:
The selection (if, if-else, if-else-if, and switch) statements are used to pick a collection of instructions for execution based on the truth value of an expression.
Explanation:
There are two sorts of selection statements in C++:
- if statement (if, if-else, if-else-if)
- switch statement
if statement (if, if-else, if-else-if):
From the top-down, the expressions are evaluated. The statement associated with an expression is performed when it evaluates to true, and the rest of the ladder is skipped. The final else is executed if none of the expressions are true. If the last else is absent, nothing happens.
switch statement:
The value of an expression is tested against a set of integer or character constants in this selection statement. The statements associated with that constant are performed when a match is found.
Hence, the selection statements caused the program control to be transferred to a specific location depending upon the outcome of the conditional expression.