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
-
Find the sum of all the numbers of the input vector
53547 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3657 Solvers
-
Back to basics 22 - Rotate a matrix
932 Solvers
-
688 Solvers
-
Sum of first n positive integers
620 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!