请问这样为什么不对?
public class HelloWorld{ public static void main(String[]args){ int num; int count; for(num=999,count=0;num>=0;count++){ num=num/10; } System.out.println(count); } }
public class HelloWorld{ public static void main(String[]args){ int num; int count; for(num=999,count=0;num>=0;count++){ num=num/10; } System.out.println(count); } }
2017-04-02
举报