Multifactorial: Difference between revisions
m
→{{header|AppleScript}}: Modified to observe the !0 = 1 convention.
Not a robot (talk | contribs) (Add Cowgol) |
m (→{{header|AppleScript}}: Modified to observe the !0 = 1 convention.) |
||
Line 286:
=={{header|AppleScript}}==
<syntaxhighlight lang="applescript">on multifactorial(n, d)
set f to
repeat with n from
set f to f * n
end repeat
|