ServiceNow Interview Question

3. Write a program to print the pascal triangle.