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