+ 3
You need to attach link to the code before anyone can look at it and suggest anything. Add the link in your post's Description above. https://www.sololearn.com/post/75089/?ref=app
28th Jun 2022, 2:34 AM
Ipang
+ 3
Julian Hasheian Can you provide your code so we can check where is problem.
28th Jun 2022, 2:57 AM
AÍąJ
AÍąJ - avatar
+ 1
While loop differs from for loop in that, you need to update a "state" variable so that the condition turns false, so as to exit the loop.
28th Jun 2022, 4:51 AM
Gordon
Gordon - avatar