character display using for loop

November 14, 2009 at 03:24:05
Specs: Windows XP

print as the following format:
*
* *
* * *

See More: character display using for loop

Report •


#1
November 14, 2009 at 04:11:30

gee, who'da thought


=====================================
Helping others achieve escape felicity

M2


Report •

#2
November 14, 2009 at 04:22:29

You never can tell!

Stuart


Report •

#3
November 21, 2009 at 10:48:20

use this code snippet
--------------------------------------
int i, j ;
for(i=0; i < 3; i++)
{
for(j=0; j < i; j++)
printf(" * ");

printf("\n");
}

---------------------------------------
the 3 is used if there are 3 lines. replace by any number for desired results.


Report •

Related Solutions

#4
November 22, 2009 at 02:52:02

can anyone please draw the pattern given below using "for loop" structure in C:------

A
AB
ABA
ABAB
ABABA


Report •

#5
November 22, 2009 at 05:45:23

I don't know what C:------ is but I'll stay tuned.


=====================================
Helping others achieve escape felicity

M2


Report •

#6
November 22, 2009 at 06:51:29

Someone should get this out of the way; might as well be me:

Awesome. When you get past the, "Have people on the Internet do my homework for free" stage, let us know.

If you start doing your homework yourself, but run into problems, feel free to ask us. Make sure to include the code you're having problems with.

If you prefer to have the Internet to do your homework, well, that's an option, too.


Report •


Ask Question