while
public class While {
public static void main(String agrs[]){
int i=1;
int a=11;
while(i<=10){
System.out.println("我真"+i);
i++;
}
do{
System.out.println("牛"+i);
i++;
}while(i<=20);
}
}