Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
faktorial
def faktorial(n) if n==0 return 1 else n*faktorial(n-1) end end puts faktorial(4)
run
|
edit
|
history
|
help
0
Ruby
Ruby custom inject
yes
Division Function without / or * signs
string orperations lecture and print
My code
Ruby Inheritence
Arithmetic Operations, Function Calls, Recursion and more in Ruby
numbers
Hex Color Reader (Ruby)