Navnath Jadhavnavnathjadhav.hashnode.dev·Mar 22, 2023Swap Two Numbers: In 5 Different WaysProgram to swap two numbers Input: Enter the value of X and Y num1=10 num2=20 Before swapping: 10 20 Output: num1=20 num2=10 After swapping: 20 10 Solution: Language Used: Java Approach 1: swap two numbers using the third variable import java...65 readsJava