If statement seems to be skipping to else
问题 I'm trying to write a program that decides whether a circle is inside/touching a rectangle. The user puts in the center point for the circle and the radius, and two diagonal points for the rectangle. I'm not sure how to include all points of the circumference of the circle, to tell that there is at least one point in/touching the rectangle. Anyone sure how to do this? When I run my current program, I'll purposely enter points of a circle being inside of a rectangle, and should work with the