Computer Science, asked by vishnuagrawal4215, 9 months ago

find the factorial of a number using r programming

Answers

Answered by sreekalakesavs
2

Answer:

= n* ( n – 1)* ( n – 2)* ( n – 3)…. The factorial of 0 is 1, the factorial of all negative number is not defined in R it outputs NAN. In R language the factorial of a number can be found in two ways one is using them for loop and another way is using recursion (call the function recursively).

Explanation:

Similar questions