// What will be printed by the program?
public class WhileLoopExercise {
public static void main(String [] args) {
int n = 2;
int m = 15;
while (n < m) {
n = n * 2;
m = m / 2;
System.out.println("n = " + n + " m = " + m);
}
System.out.println("After the loop: n = " + n + " m = " + m);
}
}