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 first and last characters of a character array
12222 Solvers
-
302 Solvers
-
07 - Common functions and indexing 4
423 Solvers
-
Back to Basics - Find no. of elements in a matrix?
328 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!