0
/ 10
Given two Points a and b, return the distance between the two points. You should use the Math.sqrt to compute the square root.
Given two Points a and b, return the distance between the two points. You should use the Math.sqrt to compute the square root.
Examples:
distance(new Point(5,10),new Point(10,10)) -> 5.0
Your feedback will appear here when you check your answer.