swap two variables

i am asked to swap values using 2 variables how i am going to do that
buccannerGeniusAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sheheryarjavedConnect With a Mentor Commented:
a=7
b=5
a=a-b=2
b=a+b=7
a=b-a=5
0
All Courses

From novice to tech pro — start learning today.