I need my output screeen to looklike this. So far i can do all of it except my traingle comes out in a right angle and i dont know how to make it into an traingle shown below. Ive tried usind 'setw" but it doesnt seem to be working.
This project will make a triangle using any symbol of your choosing.
Do you wish to continue? (y = yes, n = no): y
Enter the symbol to be used to draw the triangle: *
How many lines do you want the triangle to be? 7
*
***
*****
*******
*********
***********
*************
Thank you for using this program.
my Triangle comes out like this:
*
***
*****
*******
*********
*************