loop on programming code example Example 1: loops in coding Do X = 5+2 Loop Until X > 5 Example 2: loops in coding Do While X <= 5 X = X + 5 Loop