DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
how to swap 2 numbers without 3rd variable
int a = 3; int b = 5; a = b*a; b = a/b a = a/b
Source by www.javatpoint.com #
PREVIOUS
NEXT
Tagged:
#swap
#numbers
#variable
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit