How to make a equilateral triangle using nested for loop? The thing that I can do is just a one sided triangle
*
**
***
****
like that , but i need a triangle.
----------*
______**
_____****
____******
something like that . Just disregard -- and __. Hope you can help.