/*
1
12
123
1234
12345
*/
#include<conio.h>
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=5;j++);
printf(“%d”,j);
}
printf(“\n”);
}
getch();
}
OUTPUT:
1
12
123
1234
No comments:
Post a Comment