#include #include using namespace std; float otrezok(float x1, float y1, float x2, float y2) { float result; result = sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)); return result; } bool IsTriangle(double a, double b, double c) { return (a < b + c) && (b < a + c) && (c < a + b); }