B4Coder
0%
LessonAbout 7 min

Chapter 5 · Lesson 3 of 6

03. Adding up as you go

Keep a running total and a count in a loop: start them at 0 before it, and add to them each time round.

Opening the lesson…