Do while

can anyone share with me on how to make a do while statement producing the sample output...

*
* *
* * *
closed account (48T7M4Gy)
Try it yourself and show us if you have any problems we can help you with.
the * come wrong it was suppose to be a pyramid
closed account (48T7M4Gy)
So what is your program for drawing the triangle above.

I assume you have a program that gives you:
*
* *
* * *


And you want us to suggest how you can change it to give you:
  *
 * *
* * * 
Last edited on
Show us you code and then we can help you figure out where you went wrong.
Topic archived. No new replies allowed.