Advertisement
Otsukare-Sama

Untitled

Dec 18th, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. Date le seguenti funzioni, cosa calcola x(100)?
  2.  
  3. function x(n) {
  4. if(n <= 0) return 0
  5. return 1+y(n-3)
  6. }
  7.  
  8. function y(n) {
  9. if(n <= 0) return 0
  10. return 2+x(n-2)
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement