Square root using binary search

why we are doing ans=ans-inc in the code

@mohitshendre2609 because the while loop ends when the condition is false, which means we need to go one step back to get the correct answer.