这里的编程哪里错了
package com.third;
public class HelloMai {
public static void main(String[] args){
int num=10000;
int count=1;
if(num/10>0){
count++;
num=num/10;
}
System.out.println(count);
}}
package com.third;
public class HelloMai {
public static void main(String[] args){
int num=10000;
int count=1;
if(num/10>0){
count++;
num=num/10;
}
System.out.println(count);
}}
2016-11-02
举报