你这程序第4行写错了,导致程序异常退出了。第四行改成:
Scanner scanner = new Scanner(System.in); int wind = scanner.nextInt();
#运行文件 7