Computer Science, asked by rutujalavand5, 2 months ago

write an algorithm to exchange the value of two variables​

Answers

Answered by sanjudnath
2

Explanation:

We use addition and subtraction operation on these variables. Step 2: Take the value ofvariables a and b. Step 3: Add the values of the a and b and assign it to the variable a. ... Step 5: Subtract the values of a and b and assign it to the variable a.

Similar questions