i want to write a recursive function that draws this triangle. Any help?
*
***
*****
***
*
Printable View
i want to write a recursive function that draws this triangle. Any help?
*
***
*****
***
*
With what? What have you got so far?Quote:
Originally Posted by pikkas
Do you understand:Code:print stars
recurse stars + 1
print stars
- What I have written?
- That you are whining?
- That you made no effort whatsoever?