Posts by user3584562 • 121 points
1 post
-
12
votes3
answers21946
viewsA: How to exchange the value between two variables without using auxiliary variable?
One of the simplest and quickest ways to do this is to use mathematical operations. Assuming x = 50 and y = 70 with 3 operations: x= x + y y= x - y x= x - y Detailed explanation • x= x + y | x= 70 +…