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 Solvers136
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3657 Solvers
-
Flip the main diagonal of a matrix
899 Solvers
-
Given a matrix, return the last eigen value
231 Solvers
-
514 Solvers
-
Let's get back to school, and create multiplication tables
235 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!