6 lines
81 B
Text
6 lines
81 B
Text
function f=factoriter(n)
|
|
f=1
|
|
for i=2:n
|
|
f=f*i
|
|
end
|
|
endfunction
|