freeCodeCamp Challenge Guide: Iterate Through an Array with a For Loop

I’m having a hard time understanding the math behind this one. I understand each component, just not how you use it all to get to total=20. Would someone mind helping me out?

8 Likes