diff options
Diffstat (limited to 'ks/ifelse.ks')
-rw-r--r-- | ks/ifelse.ks | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ks/ifelse.ks b/ks/ifelse.ks new file mode 100644 index 0000000..3aa4778 --- /dev/null +++ b/ks/ifelse.ks @@ -0,0 +1,7 @@ +def fib(x) + if x < 3 then + 1 + else + fib(x-1)+fib(x-2); + +fib(10); |