Agilysys Interview Question

Like palindrome inverted traingle program