employer cover photo
employer logo

Mindbody interview question

Progaram to swap 2 numbers without temp variable

Interview Answer

Anonymous

16 Jun 2020

x=10, y=20; x= x+y; y=x-y; x=x-y; System.out.println(x ); System.out.println(y)l