. Повернутися

float LengthByCoords(int x1, int y1, int x2, int y2)
{
    float z;
    z=sqrt(pow(y2-y1,2)+pow(x2-x1,2));
    return z;
}