💻ap computer science a review

Modulo Operator (%)

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The modulo operator (%) is used in programming to find the remainder when one number is divided by another. It takes a dividend and a divisor, and returns the remainder after performing division.

"Modulo Operator (%)" also found in:

2,589 studying →