So there is a program that displays the following:
13 15 x = 6
But it’s not quite clear why x = 6, and not 7 (as it seemed to me to go), and why the value of y displays after 13 not 14, but 15 at once
public class Output { public static void main(String[] args) { Output o = new Output(); o.go(); } void go() { int y = 7; for (int x = 1; x < 8; x++) { y++; if (x > 4) { System.out.print(++y + " "); } if (y > 14) { System.out.println(" x = " + x); break; } } } } PS Explain how the program behaves after x reaches a value of 5