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