Control Structures

Statements execute sequentially: The first statement in a function is executed first, followed by the second, and so on. Of course, few programs including the one we’ll need to write to solve using only sequential execution. Instead, programming languages provide various control structures that allow for more complicated execution paths.
 
A control structure is a structure that controls the execution of a program and have the following form :


from 1 to N
do this
do this
…..
and this
end

A control structure is executed until it is exited by some condition or forcefully