JustDial interview question

Display a numerical pyramid pattern in any programming language