The problem is when I go to run this only the first triangle displays. Here is a little about what it is supposed to do.
Create a function that tests both version of the drawbar function to ensure they work correctly. Each of your drawbar functions should draw a triangle, so your program solution should output two triangles.
Remove line 24, you are already printing the newline in drawBar
Replace line 45 with an appropriate call of drawBar
Remove line 51, on line 54 you should print c variable, not 'c' ( character literal )
You are never calling the second overload of drawTriangle in main.