Skip to content

Commit 4028fdc

Browse files
author
manash
committed
Unbeliveable Bug Fix.
1 parent a1c5918 commit 4028fdc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/fibo.gama

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
let fibo = func(n) {
2+
if (n == 0) {
3+
0
4+
} elif (n == 1) {
5+
1
6+
} else {
7+
fibo(n - 1) + fibo(n - 2);
8+
}
9+
}
10+
11+
fibo(5);

0 commit comments

Comments
 (0)