為什么通不過呀?
public static void main(String[] args){ ? ?int num = 999; ? ?int count = 0; ? ?for(;num!=0;count++){ ? ?num=num/10; ? ?if(count<=10){ ? ? ? ?continue; ? ?} ? ?}System.out.println("它是個(gè)"+count ? ? ? ? ? ? ? ? ? +"位的數(shù)!"); ?} } 為什么這樣也不通過呢?
2015-07-04
把!改成中文的!
好像這里驗(yàn)證出了問題,連這個(gè)也驗(yàn)證。
2015-07-13
你這個(gè)沒問題,我剛把你的代碼復(fù)制到eclipse上試了一下
2015-07-04