Ad

In this function you will create shape of pyramidic number through taken value . Value is function's argument . Value defines pyramids height . But each layers number placed as symmetry !

Input :

greaterPyramid(5);

Output :

    1
   121
  12321
 1234321
123454321
function greaterPyramid(arg){
  // write code here...
}