已采纳回答 / _如若
public class HelloWorld{public static void main(String[] args){int num = 999;int count = 0;if(num>=0 && num<=999){ while(num!=0){ count++; num/=10; } System.out.println("他是个"+count+"位数");//输出放在while循环执行完毕之后}//else是与if来嵌套的else{ Sys...
2016-04-05
已采纳回答 / guodonglulu
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 用这个网址下载吧
2016-04-05
已采纳回答 / Coder_Liang
楼主是第一个for循环mum.length错误int[][] num = { { 1, 2, 3 }, { 2, 3, 5 }, { 32, 2, 5 } }; for (int[] i : num) { for (int j : i) { System.out.println(j); } }
2016-04-05