Write a function IsoTriangle() that takes a size parameter and dispays an isoceles triangle with that many lines. Use the DrawBar() function as a basis. (Hint: Use another function Spaces() to display the leading spaces before the start of the asteriks on each line.) For example, the function call IsoTriangle(4) displays:
*
***
*****
*******
P.S.<The diagram above should look like a pyramid.>
Please Help me with a basic code. I tried typing one of my own and it came up with 72 errors =) Some fo the errors I didn't know of.....Like Unautorized use of binary operators? and Telling me to end lines at the beginning of line.