18 factorial is 6,402,373,705,728,000.
Pseudo code+factorial
' Iterative solution Function iterativeFactorial(ByVal n As Long) As Long Dim factorial As Long = 1 For i As Long = 1 To n factorial *= i Next Return factorial End Function ' Recursive solution Function recursiveFactorial(ByVal n As Long) As Long If n <= 1 Then Return n End If Return n * recursiveFactorial(n - 1) End Function
#!/usr/bin/perl print factorial($ARGV[11]); sub factorial { my($num) = @_; if($num == 1) { return 1; # stop at 1, factorial doesn't multiply times zero } else { return $num * factorial($num - 1); # call factorial function recursively } }
double factorial(double N){double total = 1;while (N > 1){total *= N;N--;}return total; // We are returning the value in variable title total//return factorial;}int main(){double myNumber = 0;cout > myNumber;cout
120 beacause factorial means 5x4x3x2x1 so that = 120!
5 factorial = 5*4*3*2*1 = 120
145 1! = 1 4! = 24 5! = 120
It is 5*4*3*2*1 =120
5! = 5 factorial = 5x4x3x2x1 = 20x6 = 120
Five factorial = " 5! " = ( 5 x 4 x 3 x 2 x 1 ) = 120 .
5 factorial 5x4x3x2x1 or 120 times
(0!+0!+0!+0!+0!)!=120 !=factorial
lets say the equation says 5! that means 5x4x3x2x1 which equals 120 it is call five factorial based on what number is put in front of it it could be six factorial, seven factorial, etc..
5 x 4 x 3 x 2 x 1 = 120
Factorial: Denoted by the exclamation mark (!). Factorial means to multiply by decreasing positive integers. For example, 5! = 5 β 4 β 3 β 2 β 1 = 120.
yes. (0!+0!+0!+0!+0!)! where ! refers the factorial of the number