#include <iostream>
#include <cmath>

using namespace std;

struct Point {
    int x; 
    int y;
};

int main() {
    Point p1 = {2, 3};
    Point p2 = {5, 7};
    double zom = sqrt(pow(p1.x - p2.x, 2) + pow(p1.y - p2.y, 2));
    cout << zom << endl;


}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: