代码错在哪里了
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
for(;num>1;num/10){
for(;;count++);
}
System.out.print("它是个"+count+"位的数!");
}
}
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
for(;num>1;num/10){
for(;;count++);
}
System.out.print("它是个"+count+"位的数!");
}
}
2020-07-22
举报