看半天也没看出来哪里错了,请大佬指教
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
if(num!=0){
for(num=num/10;count++){
System.out.println("他是个"+count+"位的数");
}
}
}
}
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
if(num!=0){
for(num=num/10;count++){
System.out.println("他是个"+count+"位的数");
}
}
}
}
2020-01-26
举报