Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int i,n,row;
- printf("Enter the Number : ");
- scanf("%d",&row);
- for(i=1;i<=row;i++)
- {
- for(n=1;n<=i;n++)
- printf("%d",i);
- printf("\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement