Files
centvrion/snippets/fibonacci.cent
2026-04-10 12:56:44 +02:00

10 lines
184 B
Plaintext

DEFINI fib(x) VT {
SI x EST NVLLVS TVNC {
REDI(NVLLVS)
} ALVID SI x EST I TVNC {
REDI(I)
} ALVID {
REDI(INVOCA fib(x-II) + INVOCA fib(x-I))
}
}