This website requires JavaScript.
Explore
Help
Sign In
Chewing_Bever
/
vieter
forked from
vieter-v/vieter
Watch
1
Star
0
Fork
You've already forked vieter
0
Code
Issues
Pull Requests
Releases
Activity
9d1587337f
vieter
/
pieter
/
fibonacci.v
10 lines
104 B
V
Raw
Blame
History
module
fibonacci
pub
fn
fib
(
i
int
)
int
{
if
i
<=
1
{
return
i
}
return
fib
(
i
-
1
)
+
fib
(
i
-
2
)
}
Reference in New Issue
View Git Blame
Copy Permalink