pattern 1
Let's dive into the first pattern, the Simple Triangle Star Pattern, and understand how it works.
Pattern:
*
**
***
****
*****
Goal:
We want to print a right-angled triangle made up of stars (*). The triangle should have n rows, where n is the numbe...
yesamitsingh.hashnode.dev3 min read