nctref/tests/funcdefs.nct

7 lines
104 B
Plaintext
Raw Normal View History

2025-01-02 18:07:55 +02:00
fibonacci: u32(u32 n) -> {
if(n <= 1) {
return n;
}
return fibonacci(n - 1) + fibonacci(n - 2);
2024-11-26 18:43:34 +02:00
};