Write a program to print a pyramid pattern of stars with n rows.
Asked in
Examples
Click Run to test sample cases, or Submit to evaluate all cases