Help me find the bug in this code | SoloLearn: Learn to code for FREE!

0

Help me find the bug in this code

Bug in square root code https://code.sololearn.com/cSU9Vj3Qt9HM/?ref=app

7/2/2020 12:25:39 AM

Peter Paulinus Polycarp

2 Answers

New Answer

+3

The problem is that you have an infinite loop causing the program to take input infinitely. Due the method of playground to take input an error occurred.

+2

While statement is causing infinite loop