whatever is a dummy variable that you can replace with other variables. Be sure to indent the statements to repeat in the loop. We need to have at least one condition to implement the loop and make ...
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.