What does counter-- do?

It decreases counter by one each time the loop runs its code blockIt creates the counter variableIt assigns a value to the counter variableIt increments the value of the counter variable

It decreases counter by one each time the loop runs its code block.