@@ -0,0 +1,1305 @@
+import java.util.Scanner;%0A%0Aclass Number %7B%0A    private int number;%0A%0A    public static long lastDigit (int n) %7B%0A        int result = Math.abs(n %25 10);%0A%0A        switch (result) %7B%0A            case 0:%0A                System.out.println(%22zero%22);%0A                break;%0A            case 1:%0A                System.out.println(%22one%22);%0A                break;%0A            case 2:%0A                System.out.println(%22two%22);%0A                break;%0A            case 3:%0A                System.out.println(%22three%22);%0A                break;%0A            case 4:%0A                System.out.println(%22four%22);%0A                break;%0A            case 5:%0A                System.out.println(%22five%22);%0A                break;%0A            case 6:%0A                System.out.println(%22six%22);%0A                break;%0A            case 7:%0A                System.out.println(%22seven%22);%0A                break;%0A            case 8:%0A                System.out.println(%22eight%22);%0A                break;%0A            case 9:%0A                System.out.println(%22nine%22);%0A                break;%0A        %7D%0A%0A        return result;%0A    %7D%0A%7D%0A%0Apublic class LastDigitName %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        int n = Integer.parseInt(scanner.nextLine());%0A%0A        Number.lastDigit(n);%0A    %7D%0A%7D%0A

Create 03.LastDigitName.java