package test; import java.util.Scanner; public class test1{public static void main(String[] args){ Scanner sc = new Scanner(System.in); //输入判断的数字 System.out.println("输入要判断是否为回文数的数字:"); int num = sc.nextInt(); //定义变量记录输入需要判断的数字 int temp = num; //定义反转后的数字 in...