LastDigit

Given two non-negative int values, return true if they have the same last digit, such as with 27 and 57. Note that the % "mod" operator computes remainders, so 17 % 10 is 7.

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