News

However, infinite loops can also be used to ensure a program does run forever, for example the program that controls a traffic light.
For example, a very simple algorithm for ... iteration is often referred to as ‘looping’, because when a program iterates it ‘loops’ to an earlier step.