Output is incorrect

Output of sqrt(9) should be 3 but ide is giving 2

@itsmeshubhamkumar Replace line number 7 with while(s<=e) and check.

1 Like