Computer Science, asked by shubham4072, 10 months ago

difference between forever block and forever IF block​

Answers

Answered by Anonymous
10

Answer:

Explanation:

Forever block executes when the green flag is killed and doesn't stop.

Forever if block executes only if the condition is true and stops if the condition is false.

Answered by laraibmukhtar55
7

Forever block and forever if block:

• Forever block recaps one or more blocks in a loop. Forever means the loop will never end.  

• In forever if block, the block would uninterruptedly check its Boolean condition. If the condition is true, the code held inside the block would run, and then the script lasts, but if the condition is false, nothing would occur until it becomes true again.

Hope it helped...

Similar questions