
[Deleted Account]
•over 6 years agoRepeating the code several times we call this loop
For loop repeats the same code block as long as the conditional statement is true
We use the Dimound shape in flow chart for
Both while loop and for loop line of code must end up with
The for loop is used to repeat a code block for a set number of times