11.4. Homework 4 - Newton’s Square Root Algorithm in a Function

In class, we discussed an algorithm developed by Sir Isaac Newton to find the square root of a number using an iterative approximation algorithm. Modify your program from Homework 3 - Control Constructs and Newton’s Square Root Algorithm to use a function. Be sure to also define a function prototype statement.