public static void main(String[] args) throws FileNotFoundException,Exception { // TODO Auto-generated method stub Scanner scanner = new Scanner(System.in);System.out.println("请您输入一个数字");String num = scanner.nextLine();for (int i = num.length(); i > 0; i--) { ...