whats wrong with me..
package zh.codegym.task.task06.task0609;
/*
两点之间的距离
*/
public class Util {
public static double getDistance(int x1, int y1, int x2, int y2) {
double x = (x2-x1)^2+(y2-y1)^2;
double s = Math.sqrt(x);
return s;//在此编写你的代码
}
public static void main(String[] args) {
}
}