Lesson goal: Counting using for loops

Previous: The slope of a line | Home | Next: More for-loop counting

The "for loop" in programming is a construct that allows you to count with numbers. Counting in programming often means automatically making a variable pass through an entire sequence of numbers, one by one.
for variable=start,stop do

Move the mouse over a dotted box for more information.

Now you try. Try constructing a for loop that will count and display the count.

Type your code here:

See your results here: