TEMA

Wrong Answer em C - ajuda pls

gpereira114 preguntado 2 years ago

include

int main() {

int x1, y1, x2, y2; double d;

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

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

d = sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));

printf("%.4lf\n", d);

return 0;

}

Este tema fue resuelto y no puede recibir nuevas respuestas.