@@ -0,0 +1,568 @@
+public class Accumul %7B%0A    %0A    public static String accum(String s) %7B%0A      String result = %22%22;%0A      for (int i = 0; i %3C s.length(); ++i) %7B%0A        result += formattedRepeater(s.charAt(i), i) + %22-%22;%0A      %7D%0A      return result.substring(0,result.length()-1);%0A    %7D%0A    %0A    private static String formattedRepeater(char letter, int position) %7B%0A      String result =  Character.toString(Character.toUpperCase(letter));%0A      for (int i = 0; i %3C position; ++i) %7B%0A        result += Character.toString(Character.toLowerCase(letter));%0A      %7D%0A      return result;%0A    %7D%0A%7D%0A

Create 001Accumul.java