Hello everyone!
Forgive me for this beginner's question, but I am working on a maths paper and for that paper I am required to generate Pascal's triangle. I found the Perl code for doing this here
, p.357. The problem is that this code generates a triangle that is squashed "against the wall" and is not equilateral. I would be extremely grateful if someone could tell me how to alter the code so as to make the triangle equilateral, or if this is even possible? I don't have much experience in Perl, but I am willing to learn and I desperately need the triangle for my paper.
Thank you so much!