We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1c5918 commit 4028fdcCopy full SHA for 4028fdc
examples/fibo.gama
@@ -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