
public class InfiniteIterativeLoop {
	int sum(int n) {
		int result = 0;
		for(int i = 0; i < n; )
			result += i;
		return result;
	}

}

@@ -130,10 +130,139 @@
 lt;%0A%09%7D%0A%0A
+%09int sumOfOdd(int n) %7B%0A%09%09int result = 0;%0A%09%09for(int i = 0; i %3C n; ) %7B%0A%09%09%09if (i %25 2 != 0)%0A%09%09%09%09result += i;%0A%09%09%7D%0A%09%09return result;%0A%09%7D%0A
 %7D%0A

add another test case