filmov
tv
Swap two numbers without using a third variable in PHP

Показать описание
Swap two numbers without using a third variable in PHP
Two variables are given - a and b. For example, they are equal to a = 5; b = 12. It is necessary to swap these numbers (i.e. a = 12, b = 5). But not using the third variable.
Two variables are given - a and b. For example, they are equal to a = 5; b = 12. It is necessary to swap these numbers (i.e. a = 12, b = 5). But not using the third variable.