Persistent Systems Interview Question

Write a program to print isosceles triangled * pattern.