Running Totals

The running total algorithm uses a loop and variable (often called 'total'). It keeps adding to the total until the end of the loop, then shows the final values.

Task 6 (Running Total in a Loop)

A program contains an array of game scores. Write the rest of the program to add up all the game scores and show the player’s total score.

Reset Get feedback

Next task