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
-
How to find the position of an element in a vector without using the find function
2822 Solvers
-
323 Solvers
-
Getting the indices from a matrix
734 Solvers
-
334 Solvers
-
Calculate distance travelled when given radius and rotations
243 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!