Lesson 10

Learning Goal: Students will be able to use a variable inside a loop in order to change a variable's value as the loop runs.


Learning Objectives
Students will know how to:
Use loops to avoid repeating lines of code
Change the value of a variable inside a loop as the loop runs
Use increment (+=) and decrement (-=) operators to change the value of a variable
Today I will…
use a loop to avoid repeating lines of code
change the value of a variable inside a loop as the loop runs