Domanda di colloquio di Hexaware Technologies

Write a program to print pyramid pattern?