-->
当前位置:首页 > 题库

PROGRAMMING:The judgment point is inside or outside the circle

Luz5年前 (2021-05-10)题库386
Enter five data, which are the center position coordinates x and y of circle C, the radius of circle, and the position coordinates x and y of point P. If P is on the circle C, the output is "in the circle", otherwise it is "out of the circle".
###Input format:
In the first line, enter the center coordinates x and y of circle C, separated by commas
Enter the radius of the circle on the second line
In the third line, enter the position coordinates x and y of point P, separated by commas
###Output format:
"Inside the circle" or "outside the circle"
###Input example:
Here is a set of inputs. For example:
```in
0,0
three
3,0
```
###Output example:
The corresponding output is given here. For example:
```out
(3,0) in the circle
```







answer:If there is no answer, please comment