Given two points (x1, y1) and (x2, y2) on a 2D plane, calculate the distance between them using the distance formula:
Distance = √((x2 - x1)² + (y2 - y1)²)
Refer to the image below for illustration:
Four space-separated integers: x1 y1 x2 y2.
A single floating-point number representing the distance between the two points.
3 2 7 8
7.211
Constraints:
Given two points (x1, y1) and (x2, y2) on a 2D plane, calculate the distance between them using the distance formula:
Distance = √((x2 - x1)² + (y2 - y1)²)
Refer to the image below for illustration:
Four space-separated integers: x1 y1 x2 y2.
A single floating-point number representing the distance between the two points.
3 2 7 8
7.211
Constraints: