Computer Science, asked by nagmadikanti96, 11 months ago

write the difference between repeat and forever blocks​

Answers

Answered by vishugg7
19

Answer:

The repeat until block is a loop, just like the forever block. Each time through the loop, the program checks the Boolean block. If the block is false, the program repeats the blocks inside the loop. If the block is true, the program skips the blocks inside the loop and moves on to the next statement in the program.

Answered by smartbrainz
9

Difference between repeat and forever blocks​ :

'Repeat() and Forever block()' are control block in scratch.

Repeat block():

The 'Repeat Block is a Control Block'. Blocks kept inside this 'block will loop a number of times' before the script can be started.

Forever block():

The 'Forever blocks a Control block'. Blocks kept inside this block will be in an infinite loop. It is similar to the 'Repeat() block' and the 'Repeat Until() block', except that the loop never ends, unless the stop sign is pressed, the 'Stop All block is initiated', or the 'stop script block' is triggered within the loop.

To know more

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

https://brainly.in/question/7173304

What us the difference between repeat and repeat until block?​

https://brainly.in/question/13842617

Similar questions