package cn.save;java
import java.util.Scanner;input
public class Dome31 {
public static void main(String[] args){
System.out.println("我行我素购物管理系统> 客户信息管理>添加客户信息");
Scanner input = new Scanner(System.in);class
System.out.println("请输入会员号(<4位数>):");
int custNo = input.nextInt();
if(1000<=custNo && custNo<10000){
System.out.println(custNo);
}else {
System.out.println("信息录入失败!");
}
System.out.println("请输入会员生日(月/日):");
int custBirth = input.nextInt();
if(custBirth/100<10){
System.out.println("0"+custBirth/100+"/"+custBirth%100 );
}else{
System.out.println( custBirth/100+"/"+custBirth%100 );
}
System.out.print("请输入积分:");
int custScore = input.nextInt();
System.out.println("已录入的会员信息是:"+"\n\t"+custNo+"\t"+custBirth+"\t"+custScore);
}import
}im