题解 | #成绩输入输出#
成绩输入输出
http://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String threeScores = in.nextLine();
String[] scores = threeScores.split(" ");
System.out.println("score1=" + scores[0] + ",score2=" + scores[1] + ",score3=" + scores[2]);
}
}