@@ -0,0 +1,1936 @@
+//Anthony Carpenetti%0D%0A//When executed, Euler4 calculates and prints the largest palindromic number created from %0D%0A%0D%0Apublic class Euler4%0D%0A%7B%0D%0A   public static void main(String%5B%5D args)%0D%0A   %7B%0D%0A      String foo;%0D%0A      int curVal, iter, jAtMax = 99, lastIndex, len, max = 0;%0D%0A      boolean even, palindrome = true;%0D%0A      for(int i = 999;i %3E jAtMax;i--) //for the numbers from 999 to jAtMax...%0D%0A      %7B%0D%0A         for(int j = 999;j %3E 99;j--) //for the numbers 999 to 99...%0D%0A         %7B%0D%0A            palindrome = true; //palindrome is reset to true%0D%0A            curVal = i * j; //set curVal to the product of the loop indices%0D%0A            foo = Integer.toString(curVal); //set foo to a String representation of curVal%0D%0A            len = foo.length(); //set len to the length of the String foo%0D%0A            lastIndex = len - 1; //set lastIndex to the last possible index of the String foo%0D%0A            iter = len; //set iter to len%0D%0A            if(iter %25 2 != 0) //if iter is odd%0D%0A            %7B%0D%0A               iter--; //decrement it%0D%0A            %7D%0D%0A            iter /= 2; //halve iter so it is the floor of half the length of the String foo%0D%0A            %0D%0A            for(int k = 0;k %3C iter;k++) //for half the characters in foo...%0D%0A            %7B%0D%0A               if(foo.charAt(k) != foo.charAt(lastIndex - k)) //if a character at index k doesnt match the character at index lastIndex - k%0D%0A               %7B%0D%0A                  palindrome = false; //set palindrome to false%0D%0A                  break; //stop checking foo%0D%0A               %7D%0D%0A            %7D%0D%0A%0D%0A            if(palindrome && curVal %3E max) //if palindrome is true and the current value is greater than the max%0D%0A            %7B%0D%0A               max = curVal; //the max becomes the current value%0D%0A               jAtMax = j; //set jAtMax to the j value when max is set%0D%0A               break; //break out of the j loop%0D%0A            %7D%0D%0A         %7D%0D%0A      %7D%0D%0A      System.out.println(max);%0D%0A   %7D%0D%0A%7D

Add euler4 (#4)