Advertisement
Guest User

Untitled

a guest
May 27th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. int re(int i)
  2. {
  3. if(i<9) return 3+re(i+2);
  4. else if(i==9) return -2;
  5. else return 1+re(i-1);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement