Nice job! We only check the condition of counter
being less than 5 at the end, so we're able to increment the number at least once.
Psst: a while loop would see the condition at the beginning and not execute the code. At times, this little difference can be really useful.
Oh noes! A do while loop happens exactly in that order: do, followed by while.