public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("输入初始数字:"); int input = scanner.nextInt(); int count = 0; //计数 System.out.println("猜一个数字:"); for(;;){ int cai = scanner.nextIn...