Factorial: Difference between revisions

no edit summary
No edit summary
Line 4,654:
in out
</syntaxhighlight>
 
 
 
 
=={{header|GAP}}==
Line 6,126 ⟶ 6,129:
// iterative
function factorialit n
put 1 into f
if n > 1 then
repeat with i = 1 to n
715

edits