Program to Swap Two Variables without using Third Variable

https://www.computersprofessor.com/2016/04/program-to-swap-two-variables-without-using-third-variable.html
PROGRAM TO SWAP TWO VARIABLES WITHOUT USING 3rd VARIABLE
SQL > ED SWAP.SQL
DECLARE
output
SQL > ED SWAP.SQL
DECLARE
A NUMBER := &a;
B number ≔ &b;
BEGIN
a:= a + b;
b: = a - b;
a: = a - b;
dbms_output.Put_line(‘a’=
a || ‘b‘=b);
end;
output
Before
Swapping
a=5
a=5
b=10
After Swapping
a
=10
b=
5