Basic Syntax

do-while Loop

English

Overview

A loop construct that runs the body once before checking the condition to decide whether to repeat.

Details

An iteration construct that evaluates the condition only after running the body at least once, used when you want the body to run at least once regardless of the condition.

More Programming terms