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 comments
Loading...
Problem Recent Solvers138
Suggested Problems
-
Return the largest number that is adjacent to a zero
5549 Solvers
-
Sum all integers from 1 to 2^n
18209 Solvers
-
Simple equation: Annual salary
4273 Solvers
-
Find the index of n in magic(n)
277 Solvers
-
396 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!