News

A condition-controlled loop would be used ... the algorithm stops. This program iterates as many times as is necessary and will keep iterating as long as (while) the condition is met.