Question d’entretien chez Hexaware Technologies

Write a program to print pyramid pattern?