Completed "do-while" exercise