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

1
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

One comment

Add comment