#include #include float euclideanDistance(int x1, int y1, int x2, int y2); int main() { int x1, y1, x2, y2; printf("Enter (x1, y1)"); scanf("%d %d", &x1, &y1); printf("Enter (x2, y2)"); scanf("%d %d", &x2, &y2); printf("Euclidean distance between (%d, %d) and (%d, %d) is %f\n", x1, y1, x2, y2, euclideanDistance(x1, y1, x2, y2)); system("pause"); } float euclideanDistance(int x1, int y1, int x2, int y2) { return sqrt(pow(x2-x1, 2)+pow(y2-y1, 2)); }