Computer Science, asked by Anonymous, 1 year ago

pls solve

how is the repeat block different from the repeat until block ????

Answers

Answered by siasword
5
In a context not specific to R , repeat loop checks the condition at the end of each iteration while while loop checks it at the beginning of each iteration. So repeat loop executes at least one iteration while while loop may not execute any iterations if the condition is not fulfilled. That's the difference.
Answered by aniketjadhao270
10

The Repeat Until () block is a Control block and a C block. Blocks held inside this block will loop until the specified boolean statement is true, in which case the code beneath the block (if any) will execute. This loop is in similar nature to a while loop in some other programming languages.


admankar2004: Thanks for giving brainliest its my another account
Anonymous: welcome
Similar questions