how to write pseudocode swap the content of two variables usig athird variable

1 answer

1. Assign the value of variable A to a third variable, Temp.
2. Assign the value of variable B to variable A.
3. Assign the value of Temp to variable B.

Pseudocode:

Temp = A
A = B
B = Temp