Write an expression that computes the remainder of the variable principal when divided by the variable divisor. (Assume both are type int.)

LANGUAGE: JAVA

CHALLENGE:

Write an expression that computes the remainder of the variable principal when divided by the variable divisor. (Assume both are type int.)

SOLUTION:

principal % divisor

Posted in ,