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
-
Remove any row in which a NaN appears
8783 Solvers
-
Generate a random matrix A of (1,-1)
429 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1269 Solvers
-
Celsius to Fahrenheit converter
670 Solvers
-
560 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!