public static void main(String[] args){
int x = 0; //给x赋值
while (x < 99) {
System.out.println("Beerbottle"+ x);
x = x + 1; //避免无限循环
}
if (x == 99 ) {
System.out.print("Beerbottle" + x);
int x = 0; //给x赋值
while (x < 99) {
System.out.println("Beerbottle"+ x);
x = x + 1; //避免无限循环
}
if (x == 99 ) {
System.out.print("Beerbottle" + x);