说是运行正确,输出错误
public class HelloWorld{ public static void main(String[] args){ int num = 999; int count = 0; for(count=0;(num/=10)==0;count++){ System.out.println("它是个"+count+"位数!"); } } }输出哪里错啦?
public class HelloWorld{ public static void main(String[] args){ int num = 999; int count = 0; for(count=0;(num/=10)==0;count++){ System.out.println("它是个"+count+"位数!"); } } }输出哪里错啦?
2018-02-06
举报