RosettaCodeData/Task/Comments/IDL/comments.idl
2023-07-01 13:44:08 -04:00

2 lines
116 B
Text

; The following computes the factorial of a number "n"
fact = product(indgen( n )+1) ; where n should be an integer