package ru.osetsky;

public class Counter {
	public int add (int start, int finish){
		int count=start;
		int sum;
		while (count>finish) {
			count++;
			if ( (count % 2) == 0) {
				sum = sum + count;
			}		
		}
		return sum;
	}
}
@@ -82,27 +82,8 @@
 h)%7B%0A
-%09%09int count=start;%0A
 %09%09in
@@ -87,16 +87,18 @@
 %09int sum
+=0
 ;%0A%09%09whil
@@ -104,14 +104,14 @@
 le (
-count%3E
+start%3C
 fini
@@ -119,20 +119,20 @@
 h) %7B%0A%09%09%09
-coun
+star
 t++;%0A%09%09%09
@@ -137,20 +137,20 @@
 %09%09if ( (
-coun
+star
 t %25 2) =
@@ -168,20 +168,15 @@
 sum 
++
 = s
-um + coun
+tar
 t;%0A%09

Add change Counter