Problem 2047. Find Factrorial without using built-in function
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 commentsProblem Recent Solvers133
Suggested Problems
-
Given a matrix, swap the 2nd & 3rd columns
1161 Solvers
-
531 Solvers
-
280 Solvers
-
Compute LOG(1+X) in natural log
253 Solvers
-
Rotate a matrix for 180 degree
179 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!