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
-
5174 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2595 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
322 Solvers
-
Matrix of almost all zeros, except for main diagonal
191 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!