Given an integer N which is the number of lines to be printed. Make a program that prints a triangle in the same format of the Example Output
3
* ** ***
5
* ** *** **** *****
6
* ** *** **** ***** ******