Jump to content

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}}==
179

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.