Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

the _______ loop is ideal in situations where you always want the loop …

Question

the _______ loop is ideal in situations where you always want the loop to iterate at least once. for while do - while posttest question 39 1 pts

Explanation:

Brief Explanations

In programming, a do - while loop first executes the block of code inside the loop and then checks the condition. So it always iterates at least once. For and while loops check the condition first, and may not iterate at all if the condition is false initially. There's no standard "posttest" loop type in common programming languages in this context.

Answer:

C. do - while