swap the contents of two variables using a third variables pseudocode

1. Set variable A equal to a value

2. Set variable B equal to a different value
3. Set variable C equal to the value of A
4. Set A equal to the value of B
5. Set B equal to the value of C
6. The contents of A and B have now been swapped using a third variable

To swap the contents of two variables using a third variable, you can follow this pseudocode:

1. Declare three variables: `temp`, `variable1`, and `variable2`.
2. Assign values to `variable1` and `variable2`.
3. Print the values of `variable1` and `variable2` to display the original contents.
4. Assign the value of `variable1` to `temp`.
5. Assign the value of `variable2` to `variable1`.
6. Assign the value of `temp` to `variable2`.
7. Print the values of `variable1` and `variable2` to display the swapped contents.

Here is the pseudocode in action:

```
Declare temp, variable1, variable2 as variables

Assign a value to variable1
Assign a value to variable2

Print "Original contents:"
Print variable1
Print variable2

Assign variable1 to temp
Assign variable2 to variable1
Assign temp to variable2

Print "Swapped contents:"
Print variable1
Print variable2
```

Please note that in actual programming languages, the implementation might be slightly different depending on the language syntax, but the overall logic remains the same.