bc/Test/fact.b

11 lines
121 B
Brainfuck

define f (x) {
if (x<=1) return(1)
return (f(x-1)*x)
}
for (a=1; a<600; a++) b=f(a)
"length(b)= "; length(b)
quit