thanks for the tip
Type: Posts; User: kirklandkonnect
thanks for the tip
sorry the line in the middle is supposed to be on the very end
OK, i did something like that using a 'while'statement but it was a box that looked like this...
************
* *
* *
* *
************
this is all i can come up with:
for( int counter=1; counter <= 10; counter++ )
cout << "*" << endl;
I thought there might be a loop inside of a loop and I know i need a counter to keep track, but I don't know the coding on how to get the stars to add one on every print until it reaches 10
Here's the deal. I have to create a program that outputs a pic like the one below using a 'for' loop.
*
**
***
****
*****
******
*******
********