This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
ruby--ruby
mirror of
https://github.com/ruby/ruby.git
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
Code
Releases
Activity
6f3016a969
ruby--ruby
/
sample
/
fib.awk
6 lines
115 B
Awk
Raw
Blame
History
function
fib
(
n
)
{
if
(
n
<
2
)
return
n
;
else
return
fib
(
n
-
2
)
+
fib
(
n
-
1
)
}
BEGIN
{
print
fib
(
20
)
;
}
View Git Blame
Copy Permalink