@@ -0,0 +1,575 @@
+package ru.job4j.condition;%0A%0A/**.%0A *package for program Point.%0A * @author Anastasia Pavlova (mailto: a-pavlova-1986@yandex.ru)%0A * @version $Id$%0A * since 0.1%0A */%0A%0Apublic class Triangle %7B%0A    private Point a;%0A    private Point b;%0A    private Point c;%0A%0A    public Triangle(Point a, Point b, Point c) %7B%0A        this.a = a;%0A        this.b = b;%0A        this.c = c;%0A    %7D%0A%0A    public double area(int x1, int x2, int x3, int y1, int y2, int y3) %7B%0A//calculate the triangle area%0A        double area = 1/2 * ((x2 - x1) * (y3 - y1) - (x3 - x1) * (y2 - y1));%0A        return area;%0A    %7D%0A%7D%0A

add maven