Embed presentation
Download to read offline






Conditional loops allow code to repeat until a specified condition is met. There are two types: DO...WHILE loops check the condition at the end of the loop, so the code block will execute at least once. REPEAT...UNTIL loops check the condition at the start, so the code block may not execute at all if the condition is initially false. Conditional loops provide flexibility over fixed loops when the number of iterations is unknown.





