题解 | #成绩输入输出#
成绩输入输出
https://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); //输入 int d1 = in.nextInt(); int d2 = in.nextInt(); int d3 = in.nextInt(); //打印 System.out.print("score1=" + d1 + ",score2=" + d2 + ",score3=" + d3); } }