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
-
17388 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13617 Solvers
-
Change the sign of even index entries of the reversed vector
643 Solvers
-
5765 Solvers
-
Find the index of n in magic(n)
272 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!