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 Solvers133
Suggested Problems
-
Find common elements in matrix rows
2663 Solvers
-
Determine Whether an array is empty
781 Solvers
-
573 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
153 Solvers
-
Replace every 3rd element in a vector with 4
252 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!