Creating a program without using any libraries
Is it possible without using any standard library functions, to create a function called asqrt that calculates the square root of a double. Then create a program (this is the same question) that reads in a double from the user and calling the asqrt function, prints out the square root of the number. Your function should produce a square root within 0.001 accuracy of the perfect square root. e.g. if your program reads in 4, your answer should be between 1.999 and 2.001 (even though I'd expect you to have the right answer here, which is 2)
I have searched everywhere and haven't found any information on how to create a program without using c libraries.
How do I go about starting the program?