LastDigit 2

Given three ints, a b c, return true if two or more of them have the same rightmost digit. The ints are non-negative. Note: the % "mod" operator computes the remainder, e.g. 17 % 10 is 7.

This exercise was converted to PLM from the excellent exercising site http://codingbat.com/