a question

is it possible to display this by for or while...
*
***
*****
*******
yes
so how???!!!
With C++ :p.

Seriously though, what part are you stuck on?
A for loop.

The book you're reading will tell you the structure of a for loop.
This is undoubtedly the most often asked for problem on the forum. I assure you that if you use the search you will find everything that you need to know--it's as easy as reading.
Topic archived. No new replies allowed.