Skip to content

wdi-infinity/amex-week_10-day_03-factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

factorial

Calculates the Factorial of a number. useing recursion

dont look how to do it in google 😏

what is Factorial?

it is the product of an integer and all the integers below it;

e.g. factorial four ( 4! ) is equal to 24. 4! = 1x2x3x4

what is Recursion?

Recursion is the repeated application of a process. In JavaScript, recursion involves functions that call themselves repeatedly until they reach a base condition. The base condition breaks out of the recursion loop because otherwise the function would call itself indefinitely.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published