scratchpad.bc (95B)
1 define factorial(x){ 2 if(x > 1){ 3 return x * factorial(x-1) 4 } else { 5 return 1 6 } 7 }