TOPIC
Wrong Answer em C - ajuda pls
gpereira114 asked 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;
}
This topic was solved and cannot recieve new replies.