@@ -0,0 +1,759 @@
+package codingbat.string2;%0A%0A//Given a string, return a string where for every char in the original, there are two chars. %0A//%0A//doubleChar(%22The%22) = %22TThhee%22%0A//doubleChar(%22AAbb%22) = %22AAAAbbbb%22%0A//doubleChar(%22Hi-There%22) = %22HHii--TThheerree%22%0A%0Apublic class doubleCharTest %7B%0A%0A  public static void main(String%5B%5D args) %7B%0A%0A    doubleCharTest test = new doubleCharTest();%0A%0A    System.out.println(%22%3E%22 + test.doubleChar(%22The%22) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.doubleChar(%22AAbb%22) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.doubleChar(%22Hi-There%22) + %22%3C%22);%0A  %7D%0A%0A  public String doubleChar(String str) %7B%0A    String result = %22%22;%0A    %0A    for (int i = 0; i %3C str.length(); i++) %7B%0A      result = result + str.charAt(i) + str.charAt(i);%0A    %7D%0A    %0A    return result;%0A  %7D%0A%0A%7D%0A

add task doubleChar