@@ -0,0 +1,1065 @@
+package ru.job4j.calculator;%0A/**%0A*@author Fomichenkoav.%0A*@since 20.04.2017%0A*@version 1%0A*/%0A%0A%0Apublic class Calculator %7B%0A/**%0A*%D0%9F%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5 %D1%8D%D0%BA%D0%B7%D0%B5%D0%BC%D0%BF%D0%BB%D1%8F%D1%80%D0%B0.%0A*/%0A    private double result;%0A/**%0A*%D0%BC%D0%B5%D1%82%D0%BE%D0%B4 %D1%81%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F  %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82 first %D0%B8 second.%0A*@param  first %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*@param  second %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*/%0A    public void add(double first, double second) %7B%0A        this.result = first + second;%0A    %7D%0A/**%0A*%D0%BC%D0%B5%D1%82%D0%BE%D0%B4 %D0%B2%D1%8B%D1%87%D0%B8%D1%82%D0%B0%D0%BD%D0%B8%D0%B5  %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82 first %D0%B8 second.%0A*@param  first %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*@param  second %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*/%0A%09public void subtract(double first, double second) %7B%0A        this.result = first - second;%0A    %7D%0A/**%0A*%D0%BC%D0%B5%D1%82%D0%BE%D0%B4 %D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F  %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82 first %D0%B8 second.%0A*@param  first %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*@param  second %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*/%0A%09public void div(double first, double second) %7B%0A        this.result = first / second;%0A    %7D%0A/**%0A*%D0%BC%D0%B5%D1%82%D0%BE%D0%B4 %D1%83%D0%BC%D0%BD%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82 first %D0%B8 second.%0A*@param  first %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*@param  second %D1%87%D0%B8%D1%81%D0%BB%D0%BE%0A*/%0A%09public void substruct(double first, double second) %7B%0A        this.result = first * second;%0A    %7D%0A/**%0A* %D0%93%D0%B5%D1%82%D1%82%D0%B5%D1%80 %D0%B2%D0%BE%D0%B7%D0%B2%D1%80%D0%B0%D1%89%D0%B0%D1%8E%D1%89%D0%B8%D0%B9 %D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5 %D0%BF%D0%BE%D0%BB%D1%8F result.%0A*@return double result%0A*/%0A%09 public double getResult() %7B%0A        return this.result;%0A    %7D%0A%7D

task 187