*
**
***
****
*****
1: #include<conio.h>
2: #include<stdio.h>
3: void main()
4: {
5:
6: int i,j;
7: clrscr();
8: for(i=1;i<=5;i++)
9: {
10:
11: for(j=1;j<=i;j++)
12: {
13: printf("* ");
14: }
15: printf("\n");
16: }
17: getch();
18: }
No comments:
Post a Comment