what are loops used for in programming code example
Example 1: loops in coding
Do While X <= 5
X = X + 5
Loop
Example 2: loops in coding
Do
X = 5+2
Loop Until X > 5
Do While X <= 5
X = X + 5
Loop
Do
X = 5+2
Loop Until X > 5