The number N factorial, denoted by N!, is defined to be the product of the first N
Question:
The number N factorial, denoted by N!, is defined to be the product of the first N positive integers:
N! = 1 × 2 × . . . × N
For example:
5! = 1 × 2 × 3 × 4 × 5 = 120
7! = 1 × 2 × 3 × 4 × 5 × 6 × 7 = 5,040
Find N!, where N is a positive integer input by the user.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: