May have waited to long to ask for help but here goes nothing my program is suppose to display a * triangle where you enter in the middle and it get smaller by one in either direction. My problem is my bottom is not displaying any idea where I went wrong
use setw() to put the top point in the middle and output the rest of the stars for both sides using setw() -1... the base's setw() should end up to be 0
setprecision deals with floating point output...
setw() just pushes the output '*' how ever many times down the line you say
so if i say cout << setw(50) << "*';
the star would appear after 50 spaces
yes that's what I was trying to do I thought this would produce with additional triangle obviously im wrong because when I enter it into compiler it shows nothing