This is a simple program I made in C# long ago as a beginner. Just thought of uploading it to GitHub to learn how it works.
There are five options for generating a pyramid. It then asks for the no. of rows to be generated.
- Left pyramid
- Inverted left pyramid
- Right pyramid
- Inverted right pyramid
Example: A left pyramid with four rows
* ** *** ****
Try it out: Download