请问如何用控制台获得输入的数据?代码是怎样的,3Q[解决办法]Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double b = sc.nextDouble();[解决办法]同上