IBM Interview Question

Printing a pattern using asterisk