Number of cars in the garage
Schema (count stands for cars in the gas station)
Initialization count = 0
Whenever a car arrives, count = count +1
Whenever a car leaves, count = count – 1
Previous slide
Next slide
Back to first slide
View graphic version