Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.

can anyone please draw the pattern given below using "for loop" structure in C:------
A
AB
ABA
ABAB
ABABA

I don't know what C:------ is but I'll stay tuned.
=====================================
Helping others achieve escape felicityM2

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.

![]() |
wifi system
|
Batch output parameters
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |