@@ -0,0 +1,381 @@
+public boolean lastDigit(int a, int b, int c) %7B%0A  String a2=Integer.toString(a), b2=Integer.toString(b), c2=Integer.toString(c);%0A  char lastDigitOfA = a2.charAt(a2.length()-1);%0A  char lastDigitOfB = b2.charAt(b2.length()-1);%0A  char lastDigitOfC = c2.charAt(c2.length()-1);%0A  %0A  return lastDigitOfA == lastDigitOfB %7C%7C lastDigitOfB == lastDigitOfC %7C%7C lastDigitOfA == lastDigitOfC;%0A%7D%0A

Create lastDigit.java