check if a number is multiple of another code example Example: check if a number is multiple of another if (j % 4 == 0) { // j is an exact multiple of 4 }