In this Control Structure, statements are executed one after another in a consecutive order over a sequence of values that gets evaluated only when the “For Loop” is initiated (never re-evaluated). In this case, the number of iterations is fixed and known in advance.
What are the 3 types of control structures?
The three basic types of control structures are sequential, selection and iteration. They can be combined in any way to solve a specified problem. Sequential is the default control structure, statements are executed line by line in the order in which they appear. The selection structure is used to test a condition.
What are the 4 control structures?
Using comparison operators
if-else conditionals, case statements, for loops, and while loops are all control structures.