|
@@ -38,15 +38,15 @@
|
|
|
|
|
|
#define uslovie 0
|
|
|
|
|
|
-////A
|
|
|
-//#define x1 2
|
|
|
-//#define y1 -3
|
|
|
-////B
|
|
|
-//#define x2 1
|
|
|
-//#define y2 1
|
|
|
-////C
|
|
|
-//#define x3 -6
|
|
|
-//#define y3 5
|
|
|
+//A
|
|
|
+#define x1 2
|
|
|
+#define y1 -3
|
|
|
+//B
|
|
|
+#define x2 1
|
|
|
+#define y2 1
|
|
|
+//C
|
|
|
+#define x3 -6
|
|
|
+#define y3 5
|
|
|
|
|
|
////A
|
|
|
//#define x1 1
|
|
@@ -69,15 +69,15 @@
|
|
|
//#define y3 6
|
|
|
|
|
|
|
|
|
-//A
|
|
|
-#define x1 0
|
|
|
-#define y1 0
|
|
|
-//B
|
|
|
-#define x2 0
|
|
|
-#define y2 0
|
|
|
-//C
|
|
|
-#define x3 0
|
|
|
-#define y3 0
|
|
|
+////A
|
|
|
+//#define x1 0
|
|
|
+//#define y1 0
|
|
|
+////B
|
|
|
+//#define x2 0
|
|
|
+//#define y2 0
|
|
|
+////C
|
|
|
+//#define x3 0
|
|
|
+//#define y3 0
|
|
|
|
|
|
#define AB(x1, x2, y1, y2) (sqrtd(x1, x2, y1, y2))
|
|
|
#define BC(x3, x2, y3, y2) (sqrtd(x3, x2, y3, y2))
|
|
@@ -177,7 +177,7 @@ int main(void)
|
|
|
printf("\nТреугольник не может быть образован из введённых координат точек!");
|
|
|
}
|
|
|
#else
|
|
|
- printf("\nЗначение условия неподходящее");
|
|
|
+ printf("\nЗначение условия неподходящее!");
|
|
|
#endif
|
|
|
return 0;
|
|
|
}
|