求指导,哪里有问题?
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
if(num>=0&&num<=9999999999){
for(int i=10;i<=10000000000;i=i*10,count=count+1){
if(num/i=0){
System.out.println("它是一个"+count+"位的数");
break;
}
}
}