TO THE NEW interview question

Program to print numerical pattern