clean stash a little

This commit is contained in:
Torsten Ruger 2014-05-28 21:04:46 +03:00
parent 5e8688c417
commit d59370bdc7
2 changed files with 0 additions and 18 deletions

View File

@ -1,10 +0,0 @@
function factorial(n) {
if (eq(n, 1)) {
1
} else {
times(n, factorial(minus(n, 1)))
}
}
print(factorial(4))

View File

@ -1,8 +0,0 @@
def fibonaccir( n , put )
return n if n <= 1
res = fibonaccir( n - 1 , put ) + fibonaccir( n - 2 , false )
puts(res) if put
res
end
fibonaccir( 10 , true)