The symbol N! represents the product of the first N positive integers. Thus 5! = 5 * 4 *3 * 2 * 1. This is called 5 factorial. The general equation is:
N! = N * (N - 1) * (N - 2) * ... * 1
When a result is defined in terms of itself, it is called a recursive definition. Construct a program that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.