我想一下子输入都个数;不想这么写,有没有简单点的方法
Scanner in = new Scanner(System.in);
int a = in.nextInt();
Scanner in1 = new Scanner(System.in);
int b = in.nextInt();
Scanner in2 = new Scanner(System.in);
int c = in.nextInt();