13 lines
260 B
Java
13 lines
260 B
Java
public class Example17 {
|
|
public static void main(String[] args) {
|
|
int x = 1;
|
|
while (x <= 4) {
|
|
System.out.println("x = " + x);
|
|
if (x == 3) {
|
|
continue;
|
|
}
|
|
x ++;
|
|
}
|
|
}
|
|
}
|