This site requires JavaScript, please enable it in your browser!
Greenfoot back
Sauravbasyalking12
Sauravbasyalking12 wrote ...

2020/10/13

While loop

Sauravbasyalking12 Sauravbasyalking12

2020/10/13

#
Could you please name one thing that can go wrong with a while loop
RcCookie RcCookie

2020/10/13

#
?
RcCookie RcCookie

2020/10/13

#
Infinite loop?
danpost danpost

2020/10/13

#
Sauravbasyalking12 wrote...
Could you please name one thing that can go wrong with a while loop
One thing that can go wrong is that the condition to loop remains true indefinitely -- so, execution is "stuck" in the loop. It will make it seem the scenario is "frozen" as the process never completes.
You need to login to post a reply.