I need this do while loop to output *'s in a sequence twice. As so,
*
**
***
****
*****
******
*******
********
*********
**********
*
**
***
****
*****
******
*******
********
*********
**********
Please help. Thanks.
or "HELP with a homework problem". Note that he posted his attempt and did not ask for a complete solution. Providing them for obvious homework problems is frowned upon on this site. It may be very easy for you but it doesn't help the poster learn anything.
Not to mention he is teaching him to use system("pause"); :(. Never use system() anything. You will ask me why and I will just say "Because I said so" and point you here - http://www.cplusplus.com/forum/articles/11153/ ;p