TOPIC
C - Presentation Error Where ?
vfmilagre asked 3 years ago
include
include
int main() {
double x1, x2, y1, y2, distance;
scanf("%lf %lf",&x1,&y1);
scanf("%lf %lf",&x2,&y2);
distance = sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
printf("\n%.4lf", distance);
return 0;
}
Where is the presentation error in here ?