This website requires JavaScript.
Explore
Help
Sign In
l3-ENSL
/
c-repl
Watch
1
Star
0
Fork
0
You've already forked c-repl
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
main
c-repl
/
example
/
fibonacci_rec.c
8 lines
126 B
C
Raw
Permalink
Normal View
History
Unescape
Escape
Add examples
2024-01-12 13:37:52 +01:00
int
fibo
(
int
n
)
{
if
(
n
<
=
1
)
{
return
n
;
}
else
{
return
fibo
(
n
-
1
)
+
fibo
(
n
-
2
)
;
}
}
Add newline on EOF
2024-01-18 12:00:34 +01:00
fibo
(
15
)
;
Reference in New Issue
Copy Permalink