Beecrowd Problem 1015 (Distance Between Two Points) solution( Bangla ) | C language

** Before watching the solution please make sure that you have tried enough **

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

int main()

    double x1, x2, y1, y2, a;

    scanf("%lf %lf", &x1, &y1);

    scanf("%lf %lf", &x2, &y2);

    a = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));

    printf("%0.4lf\n", a);

    return 0;



You can find video explanation of this solution in our YouTube channel. You will find the YouTube channel link in the top right corner.
Like our Facebook page and SUBSCRIBE to our YouTube channel.
Stay connected.

If you face any problem, let me know in the comment section.

Leave a Comment