PROGRAMMING:Judge whether a point is in the garden
Write a method in the main class, prompt the user to enter a point (x, y), and then check whether the point is in the circle with the origin (0,0) as the center and radius R. The first part of the method is defined as: < br / >
public boolean inCircle(int x,int y,int r);< br/>
If the method is in a circle, it returns true; otherwise, it returns false < br / >
In the main method:
1. Input the X, y coordinates of the point and the half price of the circle through the keyboard
2. Call the incircle method, if it is in the circle, output yes, otherwise output No
###Input format:
Enter through the keyboard and give 3 integers in a line, representing the coordinates x, y of a point and the half valence of a circle
###Output format:
For each set of inputs, output yes or no on a single line.
###Input example:
Here is a set of inputs. For example:
```in
3 4 6
```
```in
2 3 2
```
###Output example:
The corresponding output is given here. For example:
```out
yes
```
```out
no
```
answer:If there is no answer, please comment
public boolean inCircle(int x,int y,int r);< br/>
If the method is in a circle, it returns true; otherwise, it returns false < br / >
In the main method:
1. Input the X, y coordinates of the point and the half price of the circle through the keyboard
2. Call the incircle method, if it is in the circle, output yes, otherwise output No
###Input format:
Enter through the keyboard and give 3 integers in a line, representing the coordinates x, y of a point and the half valence of a circle
###Output format:
For each set of inputs, output yes or no on a single line.
###Input example:
Here is a set of inputs. For example:
```in
3 4 6
```
```in
2 3 2
```
###Output example:
The corresponding output is given here. For example:
```out
yes
```
```out
no
```
answer:If there is no answer, please comment