java键盘录入
//自动引用包 import java.util.Scanner; //定义扫描器对象 Scanner sc = new Scanner(System.in); //接受变量 int num = sc.nextInt(); double weight = sc.nextDouble(); String str = sc.next();
//自动引用包 import java.util.Scanner; //定义扫描器对象 Scanner sc = new Scanner(System.in); //接受变量 int num = sc.nextInt(); double weight = sc.nextDouble(); String str = sc.next();