package cn.save;
public class Quyu {
public static void main(String[] args){
int num=8963;
int a=num/1000;
int b=num%1000/100;
int c=num%1000%100/10;
int d=num%1000%100%10;
System.out.println("千:"+a+"
"+"百:"+b+"
"+"十:"+c+"
"+"个:"+d);
int abc=8963;
String str=String.valueOf(abc);
for(int i=0;i<str.length();i++){
System.out.println(str.charAt(i));
}
}