Zebra0.com

alice mathCounter

Counter

A counter is a variable that is initialized to 0, then add 1 to it when the thing you are counting occurs.


Text of video

Counter is initialized to 0. When we say counter=counter+1 is gives counter a new value that is equal to it's current value plus one.


My code doesn't look like that!

NEXT: Counters