write a program to interchange two variables using thrid variables
Answers
Answered by
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
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