Recall that Java has a built-in modulus operator.