*
***
*****
*******
***
*****
*******
Hello Experts I need this Output Using Loops.Help me
|
Newbie Member
|
|
| 9Apr2011,20:22 | #1 |
|
* *** ***** ******* Hello Experts I need this Output Using Loops.Help me |
|
Pro contributor
|
![]() |
| 9Apr2011,23:47 | #2 |
|
use this or........
Code:
#include <stdio.h>
int main(){
int i;
for(i=0;i<1;i++){
printf(" *\n");
printf(" ***\n");
printf(" *****\n");
printf("*******\n");
}
getchar();
return 0;
}
|
|
Newbie Member
|
|
| 10Apr2011,13:40 | #3 |
|
give me right logical code.not printf
|
|
Pro contributor
|
![]() |
| 10Apr2011,17:47 | #4 |
|
Newbie Member
|
|
| 10Apr2011,18:04 | #5 |
|
i done it.
|