import java.util.Scanner; Scanner sc = new Scanner (System.in); int i = sc.nextInt(); String str = sc.next(); double ddd = sc.nextDouble(); char ccc = 'y'; 来源:https://www.cnblogs.com/comw/p/11382774.html 标签 sc