Take N (number of rows - only odd numbers allowed), print the following pattern (for N = 5).
0<N<10
assume 1 = ’ ’ and 2 = ‘*’
111121111
112121211
212121212
112121211
111121111
Input Format
Constraints
0 < N < 10 (only odd numbers allowed)
ignore the gap between 2 rows.
using c++