摘要: 输入要定义一个扫描器 Scanner sc= new Scanner(System.in); 然后定义一个量来接收输入 String input=sc.next(); 如果接收的是数字,可以用以下写法 int a=sc.nextInt(); 阅读全文
posted @ 2016-05-07 11:05 ①乷壹迣鎅 阅读(146) 评论(0) 推荐(0)