diff options
author | thing 1 <thing1@seacrossedlovers.xyz> | 2024-12-16 13:36:15 +0000 |
---|---|---|
committer | thing 1 <thing1@seacrossedlovers.xyz> | 2024-12-16 13:36:15 +0000 |
commit | 857de9681685bc5cfd3907ccfe87d8a9b160b968 (patch) | |
tree | a2e88494c3931fc4946f6fc4fda1d5f4d9f63247 /comp/lucas-standen-NEA/writeup2/examples/fib_example.zpy | |
parent | 03625304e740c9c0f7c434833dcded7ecdb9ca99 (diff) |
created example
Diffstat (limited to 'comp/lucas-standen-NEA/writeup2/examples/fib_example.zpy')
-rw-r--r-- | comp/lucas-standen-NEA/writeup2/examples/fib_example.zpy | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib_example.zpy b/comp/lucas-standen-NEA/writeup2/examples/fib_example.zpy deleted file mode 100644 index 2c66618..0000000 --- a/comp/lucas-standen-NEA/writeup2/examples/fib_example.zpy +++ /dev/null @@ -1,13 +0,0 @@ -(defun fib int n:int) - (if (< n 2)) - (return n) - (endif) - - (return (+ (fib (- n 1)) (fib (- n 2)))) -(endfun) - -(defun main int) - (let n:int 30) - (printint (fib n)) - (printchar '\n') -(endfun) |