参考代码:
import java.util.Scanner; public class Main { public static void main(String[] args) { //Scanner scanner = new Scanner(System.in); //int x = scanner.nextInt(); int x = new Scanner(System.in).nextInt(); int res = x * 10; System.out.printf("%d %d", x, res); } }
0.0分
5 人评分