求问这样行不行
求问,这样行不行??? public class HelloWorld{ public static void main(String[] args){ int num = 999; int count = 0; int div ; for(div=1,count = 0;div<1000000000;div*10){ div="">0){ count+=1; }else{ break; } } System.out.println("它是个"+count"位的数!"); } }