@@ -0,0 +1,732 @@
+package codingbat.warmup2;%0A%0A/*%0A * Given a string and a non-negative int n, %0A * return a larger string that is n copies of the original string. %0A * %0A * stringTimes(%22Hi%22, 2) = %22HiHi%22%0A * stringTimes(%22Hi%22, 3) = %22HiHiHi%22%0A * stringTimes(%22Hi%22, 1) = %22Hi%22%0A */%0A%0Apublic class StringTimesTest %7B%0A%0A  public static void main(String%5B%5D args) %7B%0A%0A    StringTimesTest test = new StringTimesTest();%0A%0A    System.out.println(%22%3E%22 + test.stringTimes(%22Hi%22, 2) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.stringTimes(%22Hi%22, 3) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.stringTimes(%22Hi%22, 1) + %22%3C%22);%0A  %7D%0A%0A  public String stringTimes(String str, int n) %7B%0A    String result =%22%22;%0A    %0A    for(int i = 0; i%3Cn;i++)%7B%0A      result += str;%0A    %7D%0A    return result;%0A  %7D%0A%0A%7D%0A

add task stringTimes