This website requires JavaScript.
Explore
Help
Sign In
midfavila
/
awk
Watch
1
Star
0
Fork
You've already forked awk
0
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
master
awk
/
testdir
/
p.44
8 lines
104 B
Plaintext
Raw
Permalink
Blame
History
function fact(n) {
if (n <= 1)
return 1
else
return n * fact(n-1)
}
{ print $1 "! is " fact($1) }
Reference in New Issue
View Git Blame
Copy Permalink