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