Learn

Introduction to Java

Good work! Let's explore one more special math operator known as *modulo*.

- The
*modulo*operator - represented in Java by the`%`

symbol - returns the remainder of dividing two numbers.

For example, `15 % 6`

will return the value of `3`

, because that is the remainder left over after dividing 15 by 6.

Community Forums

Get help and ask questions in the Codecademy Forums

Report a Bug

If you see a bug or any other issue with this page, please report it here.

Learn

Community Forums

Report a Bug

Learn

Community Forums

Report a Bug