Why this code is facing an infinite loop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why this code is facing an infinite loop?

I am decreasing the value of the condition by dividing it by 2 so what is my logical mistake in this code? https://code.sololearn.com/cX3KZ26F4t8w/?ref=app

21st Dec 2019, 5:15 PM
Plaban Kr. Mondal
Plaban Kr. Mondal - avatar
1 Answer
0
Thanks.. got it!!
21st Dec 2019, 5:27 PM
Plaban Kr. Mondal
Plaban Kr. Mondal - avatar