求大佬看看我的有什么问题啊?
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
for(;count<11;count++){
if(num=0){
num/=10;
break;
}
}
System.out.println("它是个"+count+"位数!");
}
}
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
for(;count<11;count++){
if(num=0){
num/=10;
break;
}
}
System.out.println("它是个"+count+"位数!");
}
}
2018-08-19
举报