06-25-2003, 11:30 PM
Factorial in one line?
Code:
function fact&(x&):if x& then fact&=x&*fact&(x&-1) else fact&=1 :end function
Antoni
Challenge: Algorithms having only one line of code.
|
« Next Oldest | Next Newest »
|