Center is at (Xc, Yc ). Radius = R.
=======================================
Print "Input the coordinates of point 'P', separated by a comma."
Input A, B
D = (Xc - A)2 + (Yc - B)2
If D < R2 then print "'P' is inside the circle."
If D = R2 then print "'P' is on the circle."
If D > R2 then print "'P' is outside the circle."
by arup nandy
Copyright © 2026 eLLeNow.com All Rights Reserved.