Java-循环

package Demo;

public class loop {
public static void main(String[] args){
int x = 10;
while (x<20){
System.out.println(x);
x++;
}

do{
x++;
}while (x<20);
}
}
原文地址:https://www.cnblogs.com/shunguo/p/14476990.html