10 7 3
13 11 8 4
15 14 12 9 5
Before we starting the coding of above number pyramid design, let's focus the following source image of above pyramid:
|Figure: Showing flow of data in Number Pyramid Design|
So, In above pyramid design it is too easy to making every rows and columns. let's starting the writing source code.
/*c program for continuous vertical horizontal number pyramid*/