I'm a Japanese programmer. I write about C#, Ruby and JavaScript.
def fib(n) n <= 2 ? 1 : fib(n - 1) + fib(n - 2)endputs fib(10)
Post a Comment
No comments:
Post a Comment