题目:判断座标是否在圆形的範围内
说明:输入一个座标判断这个点有没有在半径100的圈圈里面
import java.util.Scanner;public class Q3 {public static void main(String[] args) {Scanner sc = new Scanner(System.in);while(sc.hasNext()) {int x = sc.nextInt();int y = sc.nextInt();System.out.println((x*x+y*y <= 10000)? "inside" : "outside");}}}