Template:Computer Programming/Control/9

Loop with condition at the end

edit

This loop has a condition at the end and the statements are repeated until the condition is met. Since the check is at the end the statements are at least executed once.