Program flow question

A do/while loop provides the behaviour requested by the OP - a while loop does not.

See reply #4.