modulus method

int modulus(
  1. int val1,
  2. int val2
)

Implementation

int modulus(int val1, int val2) => val1 % val2;