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.
This example makes use of a pre-test conditional loop (While loop) and will check that a score entered by the user is between 1 and 99 inclusive. A pre-test loop checks the conditions before the code ...