
Print the following pattern for the given number of rows.
Note: N is always odd.
![]()
The dots represent spaces.
N (Total no. of rows and can only be odd)
Output format :
Pattern in N lines
1 <= N <= 49
5
*
***
*****
***
*
3
*
***
*