package com.chy.g2;
import java.util.Scanner;
public class Work1 {
public static void main(String[] args) {
System.out.print("请输入会员号:");
Scanner sc = new Scanner(System.in);
String num = sc.next();
int l=num.length();
System.out.print("请输入会员生日:");
int birth = sc.nextInt();
System.out.print("请输入积分:");
int score = sc.nextInt();
if (l==4){
System.out.println("已录入的会员信息是:");
System.out.println(num+" "+birth+" "+score);
}
else System.out.println("您输入的数据不合法");
}
}