#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(void) {
	double point1_x,point1_y,point2_x,point2_y,distance;
	printf("Donnez la valeur x du premier point : ");
	scanf("%lf",&point1_x);
	printf("Donnez la valeur y du premier point : ");
	scanf("%lf",&point1_y);
	printf("Donnez la valeur x du deuxieme point : ");
	scanf("%lf",&point2_x);
	printf("Donnez la valeur y du deuxieme point : ");
	scanf("%lf",&point2_y);
	distance=sqrt(pow((point2_x-point1_x),2)+pow((point2_y-point1_y),2));
	printf("%f\n",distance);
    return EXIT_SUCCESS;
}