Добавить
Уведомления

Swap Integer Values Without Using A Third Variable | Java

Given two integer values a and b, write a program to swap the two integers without using a third variable. Example: if a = 5, b = 6. Answer: a = 6, b = 5 Do subscribe, like, share and comment on the videos if you find them useful.

Иконка канала Кодерская академия
12 подписчиков
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

Given two integer values a and b, write a program to swap the two integers without using a third variable. Example: if a = 5, b = 6. Answer: a = 6, b = 5 Do subscribe, like, share and comment on the videos if you find them useful.

, чтобы оставлять комментарии