package ru.job4j.loop;

/**
 *Class Counter.
 *
 *@author i.sliusar
 *@version $Id$
 *@since 0.1
 *03.06.2017
 */
 public class Counter {
	/**
	 *Add.
	 *
	 *@param start - Начало.
	 *@param finish - Конец.
	 *@return rezult int.
	 */
	 public int add(int start, int finish) {
		 int rezult = 0;
		 for (int i = start; i <= finish; i++) {
			 if (i % 2 != 0) {
				 continue;
			 }
			 rezult = rezult + i;
		 }
		 return rezult;
	 }
 }
@@ -350,9 +350,8 @@
 %25 2 
-!
 = 0)
@@ -362,48 +362,29 @@
 %09%09%09 
-continue
+rezult += i
 ;%0A%09%09%09 %7D
-%0A%09
 %09%09 
-rezult = rezult + i;
 %0A%09%09 

Fix 4.1