Swap two numbers without using a third variable in PHP

Swap two numbers without using a third variable in PHP

Programming Art

55 лет назад

263 Просмотров

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.
Ссылки и html тэги не поддерживаются


Комментарии: