Q11 Given the coordinates (x, y) of center of a circle and its radius, write a program which will determine whether a point lies inside the circle, on the circle or outside the circle. (Hint: Use sqrt() and pow() functions)
Program: 79
Given the coordinates (x, y) of center of a circle and its radius, write a c program which will determine whether a point lies inside the circle, on the circle or outside the circle. (Hint: Use sqrt() and pow() functions)
Output:
Enter the center co-ordinates of the circle: 0 0 Enter the radius of the circle: 6 Enter the point co-ordinates: 0 7 Point (0,7) lies outside the circle.