标签:
package yanxi; public class yanxi { public static void main(String[] args) { //循环 int i = 10; while(i > 0) { if(i==8) { i--; continue; } System.out.println(--i); if (i==5) break; } System.out.println(); do { System.out.println(i++); } while(i<0); for(int m = 0; m < 10; m++) { System.out.println("m="+m); } } }
标签:
原文地址:http://www.cnblogs.com/sihuiming/p/5018301.html