Commit d50a40a
committed
feat: Implement left-aligned lower triangle star pattern using i + j > 5 condition
🧠 Logic:
- Outer loop controls rows (1 to 5).
- Inner loop controls columns (1 to 5).
- Star is printed if i + j > 5, else spaces.
- Forms a left-aligned lower triangle with stars shifted to the right.
Signed-off-by: Somesh diwan <[email protected]>1 parent 0b0895a commit d50a40a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
0 commit comments