#include <iostream> #include <cmath> int main() { double x1 = 3.0, y1 = 4.0; // نقطه A double x2 = 6.0, y2 = 8.0; // نقطه B double distance = hypot(x2 - x1, y2 - y1); std::cout << "فاصله بین نقاط A و B: " << distance << std::endl; return 0; }