B2.3 Broken Code challenges - Java
B2.3 Broken Code challenges - JavaB2.3.1: Sequence & Instruction Order/* Topic B2.3.1: Sequence & Instruction Order CHALLENGE: We want to swap the values of x and y. Input: x = 10, y = 20. Desired Output: x = 20, y = 10. Actual Output: x = 20, y = 20. Fix the sequence logic! */ public class Main { public static void main(String[] args) { int x = 10; int y = 20; System.out.println("Before: x=" + x + ", y=" + y); //...