118th program input & output

Input : Enter how many line you need to make pyramid = 4
Output :-

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

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

                  1
            0    0
      1    1    1
/////////////////////////////////////////////////////////////////////////////////////////////