Hi there,
I have this program here I have written recently. Now I am trying very hard to convert this into a pyramid. I am not able to make any logic of it. I hope you can help me out. Here is my code: