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