News

A condition-controlled loop would be used because there is no way of knowing in advance how many more numbers will need to be entered before the algorithm stops. This program iterates as many ...
This algorithm would allow five numbers to be inputted and would work out the total. A count-controlled loop would be used because it is known, in advance, how many times the algorithm needs to loop.