Write a program to swap numbers without using a third variable
Sigiloso
class JavaApplication1 { public static void main(String args[]) { int a=2,b=1; System.out.println("a = "+a+" b = "+b); a=a*b; b=a/b; a=a/b; System.out.println("a = "+a+" b = "+b); } }