package com.company;
import java.util.Scanner;
public class NameYears {
public static void main(String[] args) {
Scanner ss = new Scanner(System.in);
System.out.print("请输入你的姓名:");
String Name = ss.next();
System.out.print("请输入你的年龄:");
int Years = ss.nextInt();
System.out.print("你的姓名为:" + Name + "你的年龄为:" + Years);
}
}