121th program input & output

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

                A
          B          B
    C          C        C
D       D          D        D 

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

                     A
               B          B
         C          C        C
    D       D          D        D 

E      E      E      E      E
/////////////////////////////////////////////////////////////////////////////////////////////