- 106
- 0
I have a question about a C program that I'm trying to write. I need to write a program that finds the distance between two sets of points (x1, y1) and (x2, y2) without using the math.h header file. I'm currently doing functions in my class, so I suppose I have to write a seperate function that calculates the distance. But what I'm having trouble with is how to take the square root without using the math library.