Write an expression that evaluates to true if the value of the integer variable x is divisible (with no remainder) by the integer variable y.

Write an expression that evaluates to true if the value of the integer variable x is divisible (with no remainder) by the integer variable y.

LANGUAGE: Visual Basic

CHALLENGE:

Write an expression that evaluates to true if the value of the integer variable x is divisible (with no remainder) by the integer variable y. (Assume that y is not zero.)

SOLUTION:

x MOD y = 0


Add comment