⌨️ap computer science principles review

REPEAT UNTIL (condition) loop

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

A REPEAT UNTIL (condition) loop is a type of loop that repeats a block of code until a certain condition becomes true. It checks the condition after executing the code block, ensuring that it runs at least once.

"REPEAT UNTIL (condition) loop" also found in: