Respuesta :

Answer:

principal_variable % divisor_variable

Explanation:

To compute the remainder of the variable principal when divided by a variable divisor, we can use modulus operator, %.  Modulus operator is to gain the remainder after a number (principal) is divided by another number (divisor).

For example,

5 % 2  will result in 1

7 % 4  will result in 3

Computation of remainder using modulus operator is commonly used to solve the problem that involves checking the parity status (odd or even) of a number.

ACCESS MORE