Asmnt 6
Asmnt 6
**Output:**
**
***
****
*****
Output:
*****
****
***
**
3. Pyramid Pattern
Output:
***
*****
*******
*********
4. Inverted Pyramid Pattern.
Output:
*********
*******
*****
***
5.Diamond Pattern
Output:
***
*****
*******
*********
*******
*****
***
12
123
1234
12345
Output:
12345
1234
123
12
Output:
23
456
7 8 9 10
11 12 13 14 15
9. Right-Angle Triangle (Alphabet Pattern)
Output:
AB
ABC
ABCD
ABCDE
Output:
23
456
7 8 9 10
11 12 13 14 15