which are the three types of flow of control statements
Answers
Answer: Here's your answer
Explanation:
Flow of Control:
Flow of control through any given function is implemented with three basic types of control structures:
Sequential: default mode. Sequential execution of code statements (one line after another) -- like following a recipe
Selection: used for decisions, branching -- choosing between 2 or more alternative paths. In C++, these are the types of selection statements:
if
if/else
switch
Repetition: used for looping, i.e. repeating a piece of code multiple times in a row. In C++, there are three types of loops:
while
do/while
for
The function construct, itself, forms another way to affect flow of control through a whole program. This will be discussed later in the course.
Explanation:
please mark as brainliest