[C] For Loop
Im pretty much a beginner at this, and I just wanted to know if it is possible to
to print a series of astericks, such as the below design which I just made up, using the for loop.
**
**
**
The structure of the for loop is:
for (i=0; i <= limit; i++)
The limit variable it would seem like it should be equal to 2, but then here' s where I get stuck, how do you compare a character such as the * to a limit which is an integer, it doesn't really make sense, so I was wondering if this possible, or if should I try some other alternative.
|