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.

Este exercício foi convertido para o PLM do excelente sítio de exercícios http://javabat.com/