8 Oct 2017 by OriginalGriff
You can create a loop, and inside it you have a variable which holds the current number. All you need is a variable which holds a running total (declare it outside the loop, and initialize it to zero), to add the current number to it each time round the loop, and a count of how many numbers you...