Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let rec fibo x =
- if x < 3 then 1
- else fibo(x - 1) + fibo(x - 2);;
- print_int (fibo 10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement