The do {} while;
loop executes exactly once before the condition is checked:
do {
"//code stuff here"
} while (condition);
is equivalent to
"//code stuff here"
while (condition) {
"//code stuff here"
}
9
solved What is a Do and While statement [closed]