Hello everyone,
Eventhough this is my first post, I've been reading, and browsing this forum a lot. I have a problem figuring out how to draw a pyramid as follow (minus the *s)
********A
******A*B*A
****A*B*B*B*A
**A*B*B*B*B*B*A
A*B*B*B*B*B*B*B*A
The problem is that it has A, B and a space between them.
I was thinking of drawing two separate pyramid, as follow:
********A
******A***A
****A*******A
**A***********A
A***************A
And another one:
********B
******B*B*B
****B*B*B*B*B
**B*B*B*B*B*B*B
However, I really appreciate all your input/help on this. I seem to have a hard time finding a good mathematic equation for the "for loops"
Thanks for your time, everyone.