package ru.job4j.loop;


/**
 * Created by artursafiullin on 2017-03-07.
 */
public class Counter {

    public int add(int start, int finish) {
        //int start = 1;
        //int finish = 10;

        for (start = 2; start <= finish; start += 2) {
            if (start % 2 == 0) {
                System.out.println(finish + " ");
                finish += start;
            }

        }

    }
}

@@ -150,49 +150,18 @@
     
-//
 int s
-tart = 1;%0A        //int finish = 1
+um = 
 0;%0A%0A
@@ -269,40 +269,20 @@
     
-System.out.println(finish + %22 %22)
+sum += start
 ;%0A  
@@ -299,23 +299,19 @@
     
-finish += start
+return  sum
 ;%0A  
@@ -317,24 +317,91 @@
            %7D
+%0A            System.out.println(%22%D0%A1%D1%83%D0%BC%D0%BC%D0%B0 %D1%87%D0%B5%D1%82%D0%BD%D1%8B%D1%85 %D1%87%D0%B8%D1%81%D0%B5%D0%BB %D1%80%D0%B0%D0%B2%D0%BD%D0%B0 %22 + sum);
 %0A%0A        %7D%0A
@@ -400,17 +400,16 @@
       %7D%0A
-%0A
     %7D%0A%7D%0A

add codes