Write a complete program that inputs a positive integer n and then prints a

triangle of asterisks n lines high and 2n - 1 columns wide. For example, if the

input is 5 then the output should be:

*

* * *

* * * * *

* * * * * * *

* * * * * * * * *​