AP Computer Science A

study guides for every class

that actually explain what's on your next test

Factorial

from class:

AP Computer Science A

Definition

Factorial refers to the product of an integer and all the positive integers below it. For example, the factorial of 5 (written as 5!) is equal to 5 x 4 x 3 x 2 x 1.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.