@@ -0,0 +1,1077 @@
+package ru.job4j.condition;%0A%0A/**%0A * @author Dmitrii Eskov (dmitryhope@yahoo.com)%0A * @version 1.0%0A * @since 07.06.2018%0A */%0Apublic class Point %7B%0A    private int x;%0A    private int y;%0A%0A    /**%0A     * Constructor.%0A     * @param x - position for .x%0A     * @param y - position for .y%0A     */%0A    public Point(int x, int y) %7B%0A        this.x = x;%0A        this.y = y;%0A    %7D%0A%0A    /**%0A     * Distance between .A and .B%0A     * @param that - x and y for Point that%0A     * @return distance between .A and .B%0A     */%0A    public double distanceTo(Point that) %7B%0A        return Math.sqrt(%0A                Math.pow(this.x - that.x, 2) + Math.pow(this.y - that.y, 2)%0A        );%0A    %7D%0A%0A    public static void main(String%5B%5D arqs) %7B%0A        Point a = new Point(10, 10);%0A        Point b = new Point(5, 5);%0A        double result = a.distanceTo(b);%0A        // %D0%A0%D0%B0%D1%81%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B5 %D1%82%D0%BE%D1%87%D0%BA%D0%B8 %D0%90 %D0%BC%D0%B5%D0%B6%D0%B4%D1%83 %D1%81%D0%BE%D0%B1%D0%BE%D0%B9%0A        double secondResult = a.distanceTo(a);%0A        System.out.println(%22%D0%A0%D0%B0%D1%81%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B5 %D0%BC%D0%B5%D0%B6%D0%B4%D1%83 %D1%82%D0%BE%D1%87%D0%BA%D0%B0%D0%BC%D0%B8 %D0%90 %D0%B8 %D0%91 %D1%80%D0%B0%D0%B2%D0%BD%D0%BE: %22 + result);%0A        System.out.println(%22%D0%A0%D0%B0%D1%81%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B5 %D1%82%D0%BE%D1%87%D0%BA%D0%B8 %D0%90 %D0%BC%D0%B5%D0%B6%D0%B4%D1%83 %D1%81%D0%BE%D0%B1%D0%BE%D0%B9: %22 + secondResult);%0A    %7D%0A%7D

3.4. Distance between two points in the coordinate system.