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 Solvers134
Suggested Problems
-
Return the 3n+1 sequence for n
8374 Solvers
-
Return unique values without sorting
950 Solvers
-
Remove the two elements next to NaN value
663 Solvers
-
07 - Common functions and indexing 3
419 Solvers
-
5731 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!