Exercise: The Factorial of a Number
Let's calculate the factorial of an integer.
We'll cover the following
Problem Statement
For an integer, n
, the factorial is its product with all the positive integers before it. The factorial is denoted by the !
character.
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy