Thanks...solved my problem.
Type: Posts; User: abhishekcoder
Thanks...solved my problem.
Incorporated the changes that you mentioned....program still returning the wrong values...got 2.5 as the square root of 5...
Dear All,
I have written a program to calculate the square root of an input number. It gives me an erroneous answer,for example, when I input the number 5, I get an answer 2.5 whereas I should get...