Computer Science, asked by puneethkumarta, 4 months ago

write a program to interchange two variables using thrid variables​

Answers

Answered by rushikeshphapale4
1

Answer:

Swapping Two Numbers Using Third Variable

  • Assign var1 value to a temp variable: temp = var1.
  • Assign var2 value to var1: var1 = var2.
  • Assign temp value to var2: var2 = temp.

Answered by rushita2912
1

Answer:

Assign var1 value to a temp variable: temp = var1.

Assign var2 value to var1: var1 = var2.

Assign temp value to var2: var2 = temp.

Explanation:

please mark as brainlist

Similar questions