Input : Enter how many line you need to make pyramid = 4
Output :-
0
1 0
0 1 0
1 0 1 0
/////////////////////////////////////////////////////////////////////////////////////////////
Input : Enter how many line you need to make pyramid = 5
Output :-
0
1 0
0 1 0
1 0 1 0
0 1 0 1 0
/////////////////////////////////////////////////////////////////////////////////////////////
Input : Enter how many line you need to make pyramid = 3
Output :-
0
1 0
0 1 0
/////////////////////////////////////////////////////////////////////////////////////////////