@@ -0,0 +1,158 @@
+// http://codingbat.com/prob/p194781%0A%0Apublic int triangle(int rows) %7B%0A  if (rows == 0) %7B%0A    return 0;%0A  %7D%0A  else %7B%0A    return triangle(rows-1) + rows;%0A  %7D%0A%7D%0A

Create triangle.java