Advertisement
Josif_tepe

Untitled

Apr 30th, 2021
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void pecati(int i) {
  5.     if(i == 11) {
  6.         return;
  7.     }
  8.     printf("%d ", i);
  9.     pecati(i + 1);
  10. }
  11.  
  12. int main() {
  13.     pecati(1);
  14.    
  15.     return 0;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement