See that? No matter what the condition, the loop runs at least once.
Psst: notice that the do while loop ends with a semicolon.
Maybe it makes more sense to use do for the do while loop here?