Factorial: Difference between revisions
added Fortran
m (→[[Factorial function#ALGOL 68]]: Numerical approximation) |
(added Fortran) |
||
Line 87:
ESAC
;
=={{header|Fortran}}==
{{works with|Fortran|90 and later}}
A simple one-liner is sufficient
nfactorial = PRODUCT((/(i, i=1,n)/))
=={{header|Python}}==
|