131th program input & output

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



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



1
2      1
3      3     1
4      6     4      1

/////////////////////////////////////////////////////////////////////////////////////////////