Syste.out.println("请输入一个数字:");Scanner input = new Scanner(System.In);int number = input.NextInt();Syste.out.println("你输入的数字为:"+number);