104th program input & output

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


A
B     B
C     C    CD    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
/////////////////////////////////////////////////////////////////////////////////////////////
Input : Enter how many line you need to make pyramid = 3
Output :-


A
B     B
C     C    C /////////////////////////////////////////////////////////////////////////////////////////////