Hi everyone..
a loop is a sequence of instructions that is executed
Again and again until a certain condition is true.if condition becomes false , the statements outside the branches the loop are executed.
⚫ Type of loops.
There are two common types of loops.
⚫◾Finite Loops
⚫◾Infinite Loops
⚫◾Finite Loops:
Common types of loops is finite loop. This type of loops have explicit end and those loops execute their bodies for a fixed number of times.
⚫◾ Infinite Loops
An infinite loop , have not an explicit end.
It runs for an infinite time because it's condition remains true for iteration.
Thanks for visiting....
From Grade 7 book article.