Code Editor

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.

Report a Bug

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

Learn

Report a Bug

Learn

Report a Bug