What is a do-while loop?

by on August 21, 2010

Q: What is a do-while loop in the pre-test iteration?

One Response to “What is a do-while loop?”

    The way a do-while loop works is the code in the loop is executed and then after it checks the logic to see if it should run it again. This means, unlike regular loops, the logic in the loop is always run at least once.