a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
6 lines
89 B
Text
6 lines
89 B
Text
fun fib(n) {
|
|
if (n <= 1) return n;
|
|
return fib(n - 2) + fib(n - 1);
|
|
}
|
|
|
|
print fib(30);
|