Problem 2047. Find Factrorial without using built-in function
A number is given, you have to find the factorial of the number without using built-in factroial function.
You may use loops.
Example:
Input: 8
Output: 40320
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers136
Suggested Problems
-
Compute a dot product of two vectors x and y
1046 Solvers
-
Set the array elements whose value is 13 to 0
1432 Solvers
-
572 Solvers
-
Find and replaces spaces from a input string with *
170 Solvers
-
16270 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!