结果不对、、
int num = 999;
int count = 0;
if(num>=1){
num=num/10;
count++;
}
System.out.println("它是个"+count+"位的数!");
int num = 999;
int count = 0;
if(num>=1){
num=num/10;
count++;
}
System.out.println("它是个"+count+"位的数!");
2018-07-11
举报