class number
{
void num(){
int a,b,c,d;
int n=1957;
a=n/1000;
b=n/100%10;
c=n/10%10;
d=n%10;
System.out.println(a+" "+b+" "+c+" "+d);
}
publicstaticvoid main(String[] args)
{
number s = new number();
s.num();
}
}
posted on
2019-03-08 17:58小波爱菠菜
阅读(1020)
评论(1)
编辑收藏举报