@@ -0,0 +1,284 @@
+package homework;%0A%0Apublic class TriangleArea %7B%0A%09public static long triangleArea(int aA1, int aA2, int bB1, int bB2, int cC1, int cC2) %7B%0A%0A%09%09long area = ((aA1*(bB2 - cC2)) + (bB1*(cC2 - aA2)) + (cC1*(aA2 - bB2))) / 2;%0A%09%09%0A%09%09if (area %3C 0) %7B%0A%09%09%09return area * -1;%0A%09%09%7D %0A%0A%09%09return area;%0A%09%7D%0A%7D%0A

add triangle area claculator