Finastra interview question

Program to print patter * ** ***