It prints over on the same lines, basically doing the same thing. How would I flip that? I tried changing around the things on line 36, but it would only give me errors.
In triangle, have two separate for loops.
First one counts up from 0 to ~<max value>, calling drawTriangle each time.
The second counts down from ~<max value> to 0, calling drawTriangle each time.
You don't even need your drawTriangleBottom function, it's completely redundant with drawTriangle.
Hint: Pay attention to which half should actually draw the peak of the triangle. You don't want to draw a trapezoid instead.
Also, careful of your assignment's wording. The base of the triangle is the number of rows in your example. 5 is the height of the triangle in your example. The base in your example is 5 * 2 - 1 = 9.