0
/ 50

Write a function in Java that implements the following logic: Given a non-negative number `num`

, return true if `num`

is within 2 of a...

Write a function in Java that implements the following logic: Given
a non-negative number `num`

, return true if `num`

is
within 2 of a multiple of 10. Note: (`a % b`

) is the remainder of
dividing `a`

by `b`

, so (`7 % 5`

) is `2`

.

Your feedback will appear here when you check your answer.