[Solved] Why is the program keep on asking for the input in C? [closed]


while (value > epsilon ) loop never enters/ends because value, epsilon do not change value.

Add value = asolute_value( (guess * guess ) - n ) ; to loop with the corrected spelling.

while (value > epsilon )
{
    guess = (( n / guess) + guess ) / 2 ;
    value = absolute_value((guess * guess ) - n ) ;
}

solved Why is the program keep on asking for the input in C? [closed]