1. Write a C program to print half pyramid of starts.
Example:
Input the number of rows: 5
*
**
***
****
*****
2. Write a C program to print half pyramid of numbers.
Example:
Input the number of rows: 5
1
12
123
1234
12345
3. Write a C program to print inverted half pyramid of starts.
Example:
Input the number of rows: 5
*****
****
***
**
*
4. Write a C program to print the inverted half pyramid of numbers.
Example:
Input the number of rows: 5
12345
1234
123
12
1
5. Write a C program to print the Pyramid Star Pattern
Example:
Input the number of rows: 4
*
***
*****
*******
6. Write a C program to print the inverted Pyramid Star Pattern
Example:
Input the number of rows: 4
*******
*****
***
*
7. Write a C program to print the Inverted Left Half Pyramid Pattern
Example:
Input the number of rows: 5
*****
****
***
**
*
8. Write a C program to print the Inverted Left Half Pyramid Pattern
Example:
Input the number of rows: 5
12345
1234
123
12
1