Answer

If the GUESS doesn't converge to the square root of X, this loop will never terminate. In fact, if you give a negative number as input the program will run forever.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu